summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-23 22:22:38 +0200
committerlassulus <lassulus@lassul.us>2021-10-23 22:22:38 +0200
commit3ea4c8f5735cd99d8ede55d67deb51d44795db59 (patch)
treefc2b886348b3a5073eb70b478c7527615882b560
parentbd8baec395d258cf9201ef243d4237f64aaef26b (diff)
l: fix test sources
-rw-r--r--lass/1systems/blue/source.nix4
-rw-r--r--lass/1systems/green/source.nix4
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 {}
+}