summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 2a4e1336..0b2bf5f5 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 cc7617f9..da137e06 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 {}
+}