l: fix test sources
This commit is contained in:
parent
bd8baec395
commit
3ea4c8f573
@ -1,5 +1,5 @@
|
|||||||
{ lib, pkgs, test, ... }:
|
{ lib, pkgs, test, ... }:
|
||||||
if test then {
|
if test then {} else {
|
||||||
nixpkgs = lib.mkIf (! test) (lib.mkForce {
|
nixpkgs = lib.mkIf (! test) (lib.mkForce {
|
||||||
file = {
|
file = {
|
||||||
path = toString (pkgs.fetchFromGitHub {
|
path = toString (pkgs.fetchFromGitHub {
|
||||||
@ -14,4 +14,4 @@ if test then {
|
|||||||
nixpkgs-unstable = lib.mkForce {
|
nixpkgs-unstable = lib.mkForce {
|
||||||
file.path = "/var/empty";
|
file.path = "/var/empty";
|
||||||
};
|
};
|
||||||
} else {}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, pkgs, test, ... }:
|
{ lib, pkgs, test, ... }:
|
||||||
if test then {
|
if test then {} else {
|
||||||
nixpkgs-unstable = lib.mkForce { file = "/var/empty"; };
|
nixpkgs-unstable = lib.mkForce { file = "/var/empty"; };
|
||||||
} else {}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user