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 = {
path = toString (pkgs.fetchFromGitHub {
owner = "nixos"; owner = "nixos";
repo = "nixpkgs"; repo = "nixpkgs";
rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev; rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev;
sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256; sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256;
}); });
useChecksum = true;
};
}; };
} }