summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-02-03 21:44:44 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-02-04 01:10:09 +0000
commit28629797aa327d31ded8a5a398dde4fe82249767 (patch)
tree47d8cf1c82a6aa29da2297be4220f25529893c39
parentMerge pull request #158030 from NixOS/backport-157936-to-release-21.11 (diff)
downloadnixpkgs-28629797aa327d31ded8a5a398dde4fe82249767.tar.gz
graphicsmagick: fix use of delegates in conversions
fixes #157920. nuking the references in `magick_config.h` also nuked the references to the package's own `delegates.mgk`, needed for determining which external tools to use for handling of e.g. pdf files. (cherry picked from commit 2eb5c569a8b09295b043fbface64dc335a991052)
-rw-r--r--pkgs/applications/graphics/graphicsmagick/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/graphicsmagick/default.nix b/pkgs/applications/graphics/graphicsmagick/default.nix
index 268e59d910b5..73a74299cc0b 100644
--- a/pkgs/applications/graphics/graphicsmagick/default.nix
+++ b/pkgs/applications/graphics/graphicsmagick/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
# Remove CFLAGS from the binaries to avoid closure bloat.
# In the past we have had -dev packages in the closure of the binaries soley due to the string references.
postConfigure = ''
- nuke-refs ./magick/magick_config.h
+ nuke-refs -e $out ./magick/magick_config.h
'';
postInstall = ''