mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
sane: remove 'with lib;'
This commit is contained in:
parent
4766f0dac6
commit
04d23606b5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user