about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-12-17 04:18:31 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-12-24 04:05:57 +0100
commitd91765d2e08cc15bc996d56194341ecfc40aa3d1 (patch)
tree646ce05437a304a52a8446262064832aafcee99e /pkgs/applications/graphics
parent61106207cd3b53861a0ade8b2ff655045c7ee25c (diff)
downloadnixlib-d91765d2e08cc15bc996d56194341ecfc40aa3d1.tar
nixlib-d91765d2e08cc15bc996d56194341ecfc40aa3d1.tar.gz
nixlib-d91765d2e08cc15bc996d56194341ecfc40aa3d1.tar.bz2
nixlib-d91765d2e08cc15bc996d56194341ecfc40aa3d1.tar.lz
nixlib-d91765d2e08cc15bc996d56194341ecfc40aa3d1.tar.xz
nixlib-d91765d2e08cc15bc996d56194341ecfc40aa3d1.tar.zst
nixlib-d91765d2e08cc15bc996d56194341ecfc40aa3d1.zip
saneBackends: append epson2 to dll.conf if installed
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/sane/backends/generic.nix2
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 c5c8d837a209..8709531f6093 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; {