sane: remove 'with lib;'

This commit is contained in:
Felix Buehler 2024-08-13 22:03:16 +02:00 committed by Valentin Gagarin
parent 4766f0dac6
commit 04d23606b5

View File

@ -2,7 +2,7 @@
{ paths, disabledDefaultBackends ? [] }:
with lib;
let
installSanePath = path: ''
if [ -e "${path}/lib/sane" ]; then
@ -48,6 +48,6 @@ stdenv.mkDerivation {
mkdir -p $out/etc/sane.d $out/etc/sane.d/dll.d $out/lib/sane
''
+ (concatMapStrings installSanePath paths)
+ (concatMapStrings disableBackend disabledDefaultBackends);
+ (lib.concatMapStrings installSanePath paths)
+ (lib.concatMapStrings disableBackend disabledDefaultBackends);
}