diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-02-03 14:49:56 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-02-03 15:53:44 +0100 |
commit | 9c13fe6604358e5255457422acbe8e03734f1e44 (patch) | |
tree | 7472c0e6a76c50b2b8cfb44a325fb4be80d821f9 /nixos | |
parent | 9f2a61c59cc4e4ce278e6582cb4bdca9c2088755 (diff) | |
download | nixlib-9c13fe6604358e5255457422acbe8e03734f1e44.tar nixlib-9c13fe6604358e5255457422acbe8e03734f1e44.tar.gz nixlib-9c13fe6604358e5255457422acbe8e03734f1e44.tar.bz2 nixlib-9c13fe6604358e5255457422acbe8e03734f1e44.tar.lz nixlib-9c13fe6604358e5255457422acbe8e03734f1e44.tar.xz nixlib-9c13fe6604358e5255457422acbe8e03734f1e44.tar.zst nixlib-9c13fe6604358e5255457422acbe8e03734f1e44.zip |
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>
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/installer.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 = |