summaryrefslogtreecommitdiffstats
path: root/lass/1systems/green/source.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/1systems/green/source.nix')
-rw-r--r--lass/1systems/green/source.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/lass/1systems/green/source.nix b/lass/1systems/green/source.nix
index 48499c9d..cc7617f9 100644
--- a/lass/1systems/green/source.nix
+++ b/lass/1systems/green/source.nix
@@ -1,5 +1,4 @@
-{ lib, pkgs, ... }:
-{
+{ lib, pkgs, test, ... }:
+if test then {
nixpkgs-unstable = lib.mkForce { file = "/var/empty"; };
- nixpkgs.git.shallow = true;
-}
+} else {}