mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03: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 New Issue
Block a user