diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-09-17 10:54:51 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-09-17 12:31:58 +0200 |
commit | 8f98226f50e4d8a37b39a4fb5a2a5986b4269080 (patch) | |
tree | 6e6aacd0b153481202071f83d56293d89327d50e /nixos/tests/virtualbox.nix | |
parent | b0336c9854a8c8e634005af99bc75dabd4abb4e6 (diff) | |
download | nixpkgs-8f98226f50e4d8a37b39a4fb5a2a5986b4269080.tar nixpkgs-8f98226f50e4d8a37b39a4fb5a2a5986b4269080.tar.gz nixpkgs-8f98226f50e4d8a37b39a4fb5a2a5986b4269080.tar.bz2 nixpkgs-8f98226f50e4d8a37b39a4fb5a2a5986b4269080.tar.lz nixpkgs-8f98226f50e4d8a37b39a4fb5a2a5986b4269080.tar.xz nixpkgs-8f98226f50e4d8a37b39a4fb5a2a5986b4269080.tar.zst nixpkgs-8f98226f50e4d8a37b39a4fb5a2a5986b4269080.zip |
tests/virtualbox: Allow to call it with debug attr.
Instead of manually setting debug to true or false, this should make it possible to now run the test like this: nix-build nixos/tests/virtualbox.nix --arg debug true Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/tests/virtualbox.nix')
-rw-r--r-- | nixos/tests/virtualbox.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix index 12cb4594b16..b21df456639 100644 --- a/nixos/tests/virtualbox.nix +++ b/nixos/tests/virtualbox.nix @@ -1,6 +1,6 @@ -import ./make-test.nix ({ pkgs, ... }: with pkgs.lib; let +{ debug ? false, ... } @ args: - debug = false; +import ./make-test.nix ({ pkgs, ... }: with pkgs.lib; let testVMConfig = vmName: attrs: { config, pkgs, ... }: { boot.kernelParams = let @@ -416,4 +416,4 @@ in { destroyVM_test2; }; ''; -}) +}) args |