Skip to content

Commit a0e6a89

Browse files
vbglbjornfor
authored andcommittedSep 9, 2017
ImageMagick: fix Magick-config
(cherry picked from commit 82a4c5e)
1 parent 7eb1a42 commit a0e6a89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎pkgs/applications/graphics/ImageMagick/default.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ stdenv.mkDerivation rec {
8484
moveToOutput "bin/*-config" "$dev"
8585
moveToOutput "lib/ImageMagick-*/config-Q16" "$dev" # includes configure params
8686
for file in "$dev"/bin/*-config; do
87-
substituteInPlace "$file" --replace pkg-config \
87+
substituteInPlace "$file" --replace "${pkgconfig}/bin/pkg-config -config" \
88+
${pkgconfig}/bin/pkg-config
89+
substituteInPlace "$file" --replace ${pkgconfig}/bin/pkg-config \
8890
"PKG_CONFIG_PATH='$dev/lib/pkgconfig' '${pkgconfig}/bin/pkg-config'"
8991
done
9092
'' + lib.optionalString (ghostscript != null) ''

0 commit comments

Comments
 (0)
Please sign in to comment.