diff options
author | lassulus <lassulus@lassul.us> | 2020-11-26 20:42:20 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-11-26 20:42:20 +0100 |
commit | 70bfe7e697c99b9f0f70d142a58aeea9143e9de3 (patch) | |
tree | bfc17db7688d9a5206c1d2360bf7f85266bdcdf6 /lass/1systems | |
parent | 170d54681b0e589afde00f082e506f692e1c9d25 (diff) |
l green.r: use shallow clone
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/green/source.nix | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lass/1systems/green/source.nix b/lass/1systems/green/source.nix index 21f3a8bd5..48499c9db 100644 --- a/lass/1systems/green/source.nix +++ b/lass/1systems/green/source.nix @@ -1,14 +1,5 @@ { lib, pkgs, ... }: { - nixpkgs = lib.mkForce { - 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; - }; - }; + nixpkgs-unstable = lib.mkForce { file = "/var/empty"; }; + nixpkgs.git.shallow = true; } |