From d91765d2e08cc15bc996d56194341ecfc40aa3d1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 17 Dec 2015 04:18:31 +0100 Subject: [PATCH] saneBackends: append epson2 to dll.conf if installed --- pkgs/applications/graphics/sane/backends/generic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/graphics/sane/backends/generic.nix b/pkgs/applications/graphics/sane/backends/generic.nix index c5c8d837a20..8709531f609 100644 --- a/pkgs/applications/graphics/sane/backends/generic.nix +++ b/pkgs/applications/graphics/sane/backends/generic.nix @@ -45,6 +45,8 @@ stdenv.mkDerivation { else if snapscanFirmware != null then "mkdir -p \${out}/share/sane/snapscan ; ln -s " + snapscanFirmware + " \${out}/share/sane/snapscan/your-firmwarefile.bin" + "mkdir -p \${out}/etc/sane.d ; " + + "echo epson2 >> \${out}/etc/sane.d/dll.conf" else ""; meta = with stdenv.lib; {