diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-17 04:18:31 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-24 04:05:57 +0100 |
commit | d91765d2e08cc15bc996d56194341ecfc40aa3d1 (patch) | |
tree | 646ce05437a304a52a8446262064832aafcee99e /pkgs/applications/graphics/sane | |
parent | 61106207cd3b53861a0ade8b2ff655045c7ee25c (diff) |
saneBackends: append epson2 to dll.conf if installed
Diffstat (limited to 'pkgs/applications/graphics/sane')
-rw-r--r-- | pkgs/applications/graphics/sane/backends/generic.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/sane/backends/generic.nix b/pkgs/applications/graphics/sane/backends/generic.nix index c5c8d837a2093..8709531f60930 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; { |