diff options
author | lassulus <lassulus@lassul.us> | 2021-10-23 22:22:38 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-23 22:22:38 +0200 |
commit | 3ea4c8f5735cd99d8ede55d67deb51d44795db59 (patch) | |
tree | fc2b886348b3a5073eb70b478c7527615882b560 | |
parent | bd8baec395d258cf9201ef243d4237f64aaef26b (diff) |
l: fix test sources
-rw-r--r-- | lass/1systems/blue/source.nix | 4 | ||||
-rw-r--r-- | lass/1systems/green/source.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lass/1systems/blue/source.nix b/lass/1systems/blue/source.nix index 2a4e1336b..0b2bf5f5b 100644 --- a/lass/1systems/blue/source.nix +++ b/lass/1systems/blue/source.nix @@ -1,5 +1,5 @@ { lib, pkgs, test, ... }: -if test then { +if test then {} else { nixpkgs = lib.mkIf (! test) (lib.mkForce { file = { path = toString (pkgs.fetchFromGitHub { @@ -14,4 +14,4 @@ if test then { nixpkgs-unstable = lib.mkForce { file.path = "/var/empty"; }; -} else {} +} diff --git a/lass/1systems/green/source.nix b/lass/1systems/green/source.nix index cc7617f92..da137e064 100644 --- a/lass/1systems/green/source.nix +++ b/lass/1systems/green/source.nix @@ -1,4 +1,4 @@ { lib, pkgs, test, ... }: -if test then { +if test then {} else { nixpkgs-unstable = lib.mkForce { file = "/var/empty"; }; -} else {} +} |