pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -23,12 +23,12 @@ stdenv.mkDerivation {
|
||||
substitutions = [
|
||||
''--replace "convert" "${imagemagick}/bin/convert"''
|
||||
''--replace "qrencode" "${qrencode.bin}/bin/qrencode"''
|
||||
] ++ stdenv.lib.optional testQR [
|
||||
] ++ lib.optional testQR [
|
||||
''--replace "hash zbarimg" "true"'' # hash does not work on NixOS
|
||||
''--replace "$(zbarimg --raw" "$(${zbar.out}/bin/zbarimg --raw"''
|
||||
];
|
||||
in ''
|
||||
substituteInPlace asc-to-gif.sh ${stdenv.lib.concatStringsSep " " substitutions}
|
||||
substituteInPlace asc-to-gif.sh ${lib.concatStringsSep " " substitutions}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
||||
Reference in New Issue
Block a user