pkgs/overlays/cosmic-packages: use unstable-from-source overlay

code here wants to do the same thing as unstable-from-source overlay
This commit is contained in:
Wroclaw 2025-01-03 02:27:59 +01:00
parent 0af88c8ae7
commit 2d24ce7fd4

View file

@ -20,12 +20,11 @@ let
}; };
# Initialize pinned nixpkgs # Initialize pinned nixpkgs
futureNixpkgs = import futureNixpkgsSrc { futureNixpkgs = let
localSystem = self.stdenv.buildPlatform; extended = self.extend (import ./unstable-from-source.nix {
config = self.config; unstableSource = futureNixpkgsSrc;
} // (if self.stdenv.buildPlatform == self.stdenv.hostPlatform then {} else { });
crossSystem = self.stdenv.hostPlatform; in extended.unstable;
});
in in
import "${nixos-cosmic}/pkgs" { import "${nixos-cosmic}/pkgs" {