Skip to content

Commit a40acda

Browse files
committed
[Chore] Fix tests evaluation and build
1 parent cb5c9ac commit a40acda

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

nix/tests/common.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
};
1616
};
1717

18+
system.switch.enable = true;
1819
virtualisation.graphics = false;
1920
virtualisation.memorySize = 1536;
2021
boot.loader.grub.enable = false;

nix/tests/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let
99
inherit (import "${pkgs.path}/nixos/tests/ssh-keys.nix" pkgs) snakeOilPrivateKey;
1010

1111
# Include all build dependencies to be able to build profiles offline
12-
allDrvOutputs = pkg: pkgs.runCommand "allDrvOutputs" { refs = pkgs.writeReferencesToFile pkg.drvPath; } ''
12+
allDrvOutputs = pkg: pkgs.runCommand "allDrvOutputs" { refs = pkgs.writeClosure pkg.drvPath; } ''
1313
touch $out
1414
while read ref; do
1515
case $ref in

0 commit comments

Comments
 (0)