diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-23 17:30:27 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-24 04:05:57 +0100 |
commit | fd9e991616b57473e059542ad7b70cf692323d43 (patch) | |
tree | 9668abfa4bd5faf1fc73922da39bfc9d40c4298a /pkgs/applications/graphics | |
parent | 6a76cd13362dab971bc2de54b63be96dcd55288a (diff) |
saneBackends: remove udevSupport == hotplugSupport
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/sane/backends/generic.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/sane/backends/generic.nix b/pkgs/applications/graphics/sane/backends/generic.nix index e617bcc814d1f..a8963b438b8f6 100644 --- a/pkgs/applications/graphics/sane/backends/generic.nix +++ b/pkgs/applications/graphics/sane/backends/generic.nix @@ -9,11 +9,6 @@ assert hotplugSupport -> builtins.elem stdenv.system [ "i686-linux" "x86_64-linux" ]; -let - - udevSupport = hotplugSupport; - -in stdenv.mkDerivation { inherit src; @@ -30,7 +25,7 @@ stdenv.mkDerivation { nativeBuildInputs = [ gettext pkgconfig ]; postInstall = '' - if test "$udevSupport" = "1"; then + if test "$hotplugSupport" = "1"; then mkdir -p $out/etc/udev/rules.d/ ./tools/sane-desc -m udev > $out/etc/udev/rules.d/49-libsane.rules || \ cp tools/udev/libsane.rules $out/etc/udev/rules.d/49-libsane.rules |