l: fix test sources

This commit is contained in:
lassulus 2021-10-23 22:22:38 +02:00
parent bd8baec395
commit 3ea4c8f573
2 changed files with 4 additions and 4 deletions

View file

@ -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 {}
}

View file

@ -1,4 +1,4 @@
{ lib, pkgs, test, ... }:
if test then {
if test then {} else {
nixpkgs-unstable = lib.mkForce { file = "/var/empty"; };
} else {}
}