summaryrefslogtreecommitdiffstats
path: root/lass/1systems/green
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-23 21:53:26 +0200
committerlassulus <lassulus@lassul.us>2021-10-23 21:53:26 +0200
commitddac84e9e6eb49805ad244829ea5add7370a7829 (patch)
tree5fe5ccc20bf2ebb947e4152da59251d14b09da45 /lass/1systems/green
parentd1a55f88766b72769e5f756f8b4724e13e1c6981 (diff)
l green.r: make source.nix ci compatible
Diffstat (limited to 'lass/1systems/green')
-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 {}