nixos/tests/installer: Fail on impure udev rules

With 9f2a61c in place, let's actually use this in the installer tests to
make sure we won't shovel FHS paths down the throad of unstable channel
users.

I've tested this by running all of the installer tests for x86_64-linux
and they all succeeded.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2016-02-03 14:49:56 +01:00
parent 9f2a61c59c
commit 9c13fe6604

View File

@@ -30,6 +30,8 @@ let
hardware.enableAllFirmware = lib.mkForce false;
services.udev.allowImpurePaths = false;
${replaceChars ["\n"] ["\n "] extraConfig}
}
'';
@@ -185,6 +187,8 @@ let
hardware.enableAllFirmware = mkForce false;
services.udev.allowImpurePaths = false;
# The test cannot access the network, so any packages we
# need must be included in the VM.
system.extraDependencies =