From 70bfe7e697c99b9f0f70d142a58aeea9143e9de3 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 26 Nov 2020 20:42:20 +0100 Subject: l green.r: use shallow clone --- lass/1systems/green/source.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'lass/1systems/green') 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; } -- cgit v1.2.3