diff options
Diffstat (limited to 'tvix/boot/tests/default.nix')
-rw-r--r-- | tvix/boot/tests/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tvix/boot/tests/default.nix b/tvix/boot/tests/default.nix index 5c7f97a1cea3..a46341c08bcd 100644 --- a/tvix/boot/tests/default.nix +++ b/tvix/boot/tests/default.nix @@ -29,12 +29,9 @@ let assert isClosure -> importPathName == null; assert (!isClosure) -> importPathName != null; - pkgs.stdenv.mkDerivation { + pkgs.stdenv.mkDerivation ({ name = "run-vm"; - __structuredAttrs = true; - exportReferencesGraph.closure = [ path ]; - nativeBuildInputs = [ depot.tvix.store depot.tvix.boot.runVM @@ -76,7 +73,10 @@ let grep "${assertVMOutput}" output.txt ''; requiredSystemFeatures = [ "kvm" ]; - }; + } // lib.optionalAttrs (isClosure) { + __structuredAttrs = true; + exportReferencesGraph.closure = [ path ]; + }); systemFor = sys: (depot.ops.nixos.nixosFor sys).system; |