about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-08-23 12:25:34 +0000
committerAlyssa Ross <hi@alyssa.is>2023-08-23 12:25:34 +0000
commit2d66a9db225d242a806db29e6fb619307f386902 (patch)
tree58c9be8439797a1af073098a2d282308718da9cb /nixos
parente7514bb7a87a66f0c05b616aece562dc508dc5e7 (diff)
nixosTests.virtualbox: fix eval
There's no "lib" in scope here.  The test uses "with pkgs.lib;", so
this failed to evaluate.

Fixes: 6672dde558ea ("treewide: use optionalAttrs instead of 'else {}'")
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/virtualbox.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix
index 062b125eb611e..e522d0679e151 100644
--- a/nixos/tests/virtualbox.nix
+++ b/nixos/tests/virtualbox.nix
@@ -519,4 +519,4 @@ in mapAttrs (mkVBoxTest false vboxVMs) {
     destroy_vm_test1()
     destroy_vm_test2()
   '';
-} // (lib.optionalAttrs enableUnfree unfreeTests)
+} // (optionalAttrs enableUnfree unfreeTests)