summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 48499c9db..cc7617f92 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 {}