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:
parent
0af88c8ae7
commit
2d24ce7fd4
1 changed files with 5 additions and 6 deletions
|
@ -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" {
|
||||||
|
|
Loading…
Reference in a new issue