about summary refs log tree commit diff
path: root/nixos/modules/services/hardware
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-07 15:01:36 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-09 15:10:37 +0200
commitdc626693352250f21f0d2c6492757e6a916bcfc6 (patch)
tree27e18e5b1970524e942ef958204206be341ffd6c /nixos/modules/services/hardware
parent4d49006a0f8ebdf32416779167bcb783834f9629 (diff)
downloadnixlib-dc626693352250f21f0d2c6492757e6a916bcfc6.tar
nixlib-dc626693352250f21f0d2c6492757e6a916bcfc6.tar.gz
nixlib-dc626693352250f21f0d2c6492757e6a916bcfc6.tar.bz2
nixlib-dc626693352250f21f0d2c6492757e6a916bcfc6.tar.lz
nixlib-dc626693352250f21f0d2c6492757e6a916bcfc6.tar.xz
nixlib-dc626693352250f21f0d2c6492757e6a916bcfc6.tar.zst
nixlib-dc626693352250f21f0d2c6492757e6a916bcfc6.zip
Set ‘allowSubstitutes = false’ on various derivations
This reduces the number of binary cache requests. See
https://github.com/NixOS/nix/commit/b64988bb3585478676585a0f0aecbcf4e11d4432.
Diffstat (limited to 'nixos/modules/services/hardware')
-rw-r--r--nixos/modules/services/hardware/udev.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/udev.nix b/nixos/modules/services/hardware/udev.nix
index 50588e449587..fc89de777e8e 100644
--- a/nixos/modules/services/hardware/udev.nix
+++ b/nixos/modules/services/hardware/udev.nix
@@ -28,7 +28,10 @@ let
   # Perform substitutions in all udev rules files.
   udevRules = stdenv.mkDerivation {
     name = "udev-rules";
+
     preferLocalBuild = true;
+    allowSubstitutes = false;
+
     buildCommand = ''
       mkdir -p $out
       shopt -s nullglob