From 9c13fe6604358e5255457422acbe8e03734f1e44 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 3 Feb 2016 14:49:56 +0100 Subject: 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 --- nixos/tests/installer.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos') diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 84fdb027ed85..cbfdad8d76bb 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -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 = -- cgit 1.4.1