summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
Diffstat (limited to 'lass')
-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 {}
+}