git.iko.soy/typeable/nixpkgs
on master help sign in
sane-backends: remove /etc/sane.d/net.conf
commitec2a8d2302ecb6fe6fdba884d363406313eb0d6e authorVictor multun Collod <victor.collod@epita.fr> dateWed 16 Oct 2019, 17:47 (7 years ago) parent61eecf2
1 file changed+3
pkgs/applications/graphics/sane/backends/generic.nix+3
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; {