mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
ImageMagick: fix Magick-config
This commit is contained in:
parent
7379d68016
commit
82a4c5e38b
|
@ -85,7 +85,9 @@ stdenv.mkDerivation rec {
|
|||
moveToOutput "bin/*-config" "$dev"
|
||||
moveToOutput "lib/ImageMagick-*/config-Q16" "$dev" # includes configure params
|
||||
for file in "$dev"/bin/*-config; do
|
||||
substituteInPlace "$file" --replace pkg-config \
|
||||
substituteInPlace "$file" --replace "${pkgconfig}/bin/pkg-config -config" \
|
||||
${pkgconfig}/bin/pkg-config
|
||||
substituteInPlace "$file" --replace ${pkgconfig}/bin/pkg-config \
|
||||
"PKG_CONFIG_PATH='$dev/lib/pkgconfig' '${pkgconfig}/bin/pkg-config'"
|
||||
done
|
||||
'' + lib.optionalString (ghostscript != null) ''
|
||||
|
|
Loading…
Reference in a new issue