sane-backends: remove /etc/sane.d/net.conf

This commit is contained in:
Victor multun Collod 2019-10-16 17:47:17 +02:00
parent 61eecf2a39
commit ec2a8d2302

View File

@ -57,6 +57,9 @@ stdenv.mkDerivation {
substituteInPlace $out/lib/libsane.la \
--replace "-ljpeg" "-L${libjpeg.out}/lib -ljpeg"
# net.conf conflicts with the file generated by the nixos module
rm -f $out/etc/sane.d/net.conf
'' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware);
meta = with stdenv.lib; {