Merge pull request #71237 from multun/sane_net.conf_conflict
sane-backends: remove $out/etc/sane.d/net.conf
commite6167ceaa274339cb4a7ca76d2a1d9eaa8c3215f
authorPeter Simons <simons@cryp.to>
dateThu 17 Oct 2019, 17:03 (7 years ago)
parent0256080ec2a8d2
pkgs/applications/graphics/sane/backends/generic.nix+3
@@ -57,6 +57,9 @@ stdenv.mkDerivation {
5757
5858 substituteInPlace $out/lib/libsane.la \
5959 --replace "-ljpeg" "-L${libjpeg.out}/lib -ljpeg"
60+
61+ # net.conf conflicts with the file generated by the nixos module
62+ rm -f $out/etc/sane.d/net.conf
6063 '' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware);
6164
6265 meta = with stdenv.lib; {