l blue source: use derivation for nixpkgs
This commit is contained in:
parent
069fd9be57
commit
2766a860a8
@ -1,11 +1,14 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs = lib.mkForce {
|
nixpkgs = lib.mkForce {
|
||||||
file = toString (pkgs.fetchFromGitHub {
|
derivation = ''
|
||||||
owner = "nixos";
|
with import <nixpkgs> {};
|
||||||
repo = "nixpkgs";
|
pkgs.fetchFromGitHub {
|
||||||
rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev;
|
owner = "nixos";
|
||||||
sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256;
|
repo = "nixpkgs";
|
||||||
});
|
rev = "${(lib.importJSON ../../../krebs/nixpkgs.json).rev}";
|
||||||
|
sha256 = "${(lib.importJSON ../../../krebs/nixpkgs.json).sha256}";
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user