Merge pull request #71237 from multun/sane_net.conf_conflict

sane-backends: remove $out/etc/sane.d/net.conf
This commit is contained in:
Peter Simons 2019-10-17 17:03:53 +02:00 committed by GitHub
commit e6167ceaa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {