saneBackends: append epson2 to dll.conf if installed

This commit is contained in:
Tobias Geerinckx-Rice 2015-12-17 04:18:31 +01:00
parent 61106207cd
commit d91765d2e0

View File

@ -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; {