l blue.r: add checksum check to nixpkgs populate

This commit is contained in:
lassulus 2019-04-07 18:56:50 +02:00
parent d72523a157
commit fc85c6d168

View File

@ -1,11 +1,14 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
nixpkgs = lib.mkForce { nixpkgs = lib.mkForce {
file = toString (pkgs.fetchFromGitHub { file = {
owner = "nixos"; path = toString (pkgs.fetchFromGitHub {
repo = "nixpkgs"; owner = "nixos";
rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev; repo = "nixpkgs";
sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256; rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev;
}); sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256;
});
useChecksum = true;
};
}; };
} }