diff options
author | lassulus <lassulus@lassul.us> | 2021-10-23 21:53:26 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-23 21:53:26 +0200 |
commit | ddac84e9e6eb49805ad244829ea5add7370a7829 (patch) | |
tree | 5fe5ccc20bf2ebb947e4152da59251d14b09da45 /lass/1systems/green | |
parent | d1a55f88766b72769e5f756f8b4724e13e1c6981 (diff) |
l green.r: make source.nix ci compatible
Diffstat (limited to 'lass/1systems/green')
-rw-r--r-- | lass/1systems/green/source.nix | 7 |
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 {} |