pkgs/overlays/cosmic-packages: use unstable pinned in upstream.
This commit is contained in:
parent
cce35f8934
commit
e4813107c3
1 changed files with 8 additions and 4 deletions
|
@ -7,14 +7,18 @@ let
|
|||
cosmicPkgsMainDir = builtins.readDir "${nixos-cosmic}/pkgs";
|
||||
cosmicPkgsDirs = builtins.filter (v: cosmicPkgsMainDir."${v}" == "directory") (builtins.attrNames cosmicPkgsMainDir);
|
||||
|
||||
# Pinned unstable nixpkgs
|
||||
# Pinned unstable nixpkgs from cosmic-modules
|
||||
cosmicModulesLock = builtins.fromJSON (builtins.readFile "${nixos-cosmic}/flake.lock");
|
||||
pinnedNixpkgsRev = cosmicModulesLock.nodes.nixpkgs.locked.rev;
|
||||
pinnedNixpkgsNarHash = cosmicModulesLock.nodes.nixpkgs.locked.narHash;
|
||||
|
||||
futureNixpkgsSrc = builtins.fetchTarball {
|
||||
name = "nixpkgs";
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/c3aa7b8938b17aebd2deecf7be0636000d62a2b9.tar.gz";
|
||||
sha256 = "1ds3yjcy52l8d3rkxr3b7h9c0c3nly079bgakjaasnfjj3xprrwr";
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/${pinnedNixpkgsRev}.tar.gz";
|
||||
sha256 = pinnedNixpkgsNarHash;
|
||||
};
|
||||
|
||||
# Take rustPackages from staging nixpkgs
|
||||
# Take rustPackages from pinned nixpkgs
|
||||
futureNixpkgs = import futureNixpkgsSrc {
|
||||
localSystem = self.stdenv.buildPlatform;
|
||||
config = self.config;
|
||||
|
|
Loading…
Reference in a new issue