diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-08-08 17:07:54 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-08-08 17:07:54 +0200 |
commit | 82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e (patch) | |
tree | 758effbe225558899347893505207ca9115c8d10 /pkgs/applications/graphics/ImageMagick | |
parent | 7379d680166d1b459beffbbb8d77c0b569cea0fb (diff) | |
download | nixlib-82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e.tar nixlib-82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e.tar.gz nixlib-82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e.tar.bz2 nixlib-82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e.tar.lz nixlib-82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e.tar.xz nixlib-82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e.tar.zst nixlib-82a4c5e38b8aaa9787eb184adaa54f06b6f68f8e.zip |
ImageMagick: fix Magick-config
Diffstat (limited to 'pkgs/applications/graphics/ImageMagick')
-rw-r--r-- | pkgs/applications/graphics/ImageMagick/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index 169576f29bf8..48a29e147f01 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -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) '' |