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
futureNixpkgs = import futureNixpkgsSrc {
localSystem = self.stdenv.buildPlatform;
config = self.config;
} // (if self.stdenv.buildPlatform == self.stdenv.hostPlatform then {} else {
crossSystem = self.stdenv.hostPlatform;
futureNixpkgs = let
extended = self.extend (import ./unstable-from-source.nix {
unstableSource = futureNixpkgsSrc;
});
in extended.unstable;
in
import "${nixos-cosmic}/pkgs" {