diff options
author | lassulus <lassulus@lassul.us> | 2019-04-07 18:56:50 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-04-07 19:36:05 +0200 |
commit | fc85c6d16800f73eb088c42cf67f9f6918ce3001 (patch) | |
tree | 08c249079d8ab42cb49e4a3007991d9e1f6c616b /lass/1systems | |
parent | d72523a157380b602f9033404c63f512693cbb09 (diff) |
l blue.r: add checksum check to nixpkgs populate
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/blue/source.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lass/1systems/blue/source.nix b/lass/1systems/blue/source.nix index 8f748ab8f..21f3a8bd5 100644 --- a/lass/1systems/blue/source.nix +++ b/lass/1systems/blue/source.nix @@ -1,11 +1,14 @@ { lib, pkgs, ... }: { nixpkgs = lib.mkForce { - file = toString (pkgs.fetchFromGitHub { - owner = "nixos"; - repo = "nixpkgs"; - rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev; - sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256; - }); + file = { + path = toString (pkgs.fetchFromGitHub { + owner = "nixos"; + repo = "nixpkgs"; + rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev; + sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256; + }); + useChecksum = true; + }; }; } |