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 2eb5c569a8)
This commit is contained in:
Robert Scott
2022-02-03 21:44:44 +00:00
committed by github-actions[bot]
parent adae402640
commit 28629797aa

View File

@@ -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 = ''