summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-07 18:56:50 +0200
committerlassulus <lassulus@lassul.us>2019-04-07 19:36:05 +0200
commitfc85c6d16800f73eb088c42cf67f9f6918ce3001 (patch)
tree08c249079d8ab42cb49e4a3007991d9e1f6c616b /lass
parentd72523a157380b602f9033404c63f512693cbb09 (diff)
l blue.r: add checksum check to nixpkgs populate
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/blue/source.nix15
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;
+ };
};
}