From 2eb5c569a8b09295b043fbface64dc335a991052 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 3 Feb 2022 21:44:44 +0000 Subject: [PATCH] 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. --- pkgs/applications/graphics/graphicsmagick/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/graphicsmagick/default.nix b/pkgs/applications/graphics/graphicsmagick/default.nix index fe387ddc273b..4c83802d7ad8 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 = ''