summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-11-26 20:42:20 +0100
committerlassulus <lassulus@lassul.us>2020-11-26 20:42:20 +0100
commit70bfe7e697c99b9f0f70d142a58aeea9143e9de3 (patch)
treebfc17db7688d9a5206c1d2360bf7f85266bdcdf6
parent170d54681b0e589afde00f082e506f692e1c9d25 (diff)
l green.r: use shallow clone
-rw-r--r--lass/1systems/green/source.nix13
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;
}