mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
saneBackends: remove udevSupport == hotplugSupport
This commit is contained in:
parent
6a76cd1336
commit
fd9e991616
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user