about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorColin <colin@uninsane.org>2024-02-27 23:15:40 +0000
committerColin <colin@uninsane.org>2024-02-28 10:52:37 +0000
commit0421b8d99ceca44554d83d3c6a0121a8455066c8 (patch)
treeb5a49c0cdd865c0448baf11e1d09d3c01cdbcb27 /pkgs/applications/graphics
parenta5b95fbbba061465904e5f0c5686beb400df6794 (diff)
downloadnixlib-0421b8d99ceca44554d83d3c6a0121a8455066c8.tar
nixlib-0421b8d99ceca44554d83d3c6a0121a8455066c8.tar.gz
nixlib-0421b8d99ceca44554d83d3c6a0121a8455066c8.tar.bz2
nixlib-0421b8d99ceca44554d83d3c6a0121a8455066c8.tar.lz
nixlib-0421b8d99ceca44554d83d3c6a0121a8455066c8.tar.xz
nixlib-0421b8d99ceca44554d83d3c6a0121a8455066c8.tar.zst
nixlib-0421b8d99ceca44554d83d3c6a0121a8455066c8.zip
graphicsmagick: remove build coreutils from cross-compiled output
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/graphicsmagick/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/graphicsmagick/default.nix b/pkgs/applications/graphics/graphicsmagick/default.nix
index baae92b14213..893d2cebb601 100644
--- a/pkgs/applications/graphics/graphicsmagick/default.nix
+++ b/pkgs/applications/graphics/graphicsmagick/default.nix
@@ -1,6 +1,7 @@
 { lib, stdenv, fetchurl, bzip2, freetype, graphviz, ghostscript
 , libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
 , libwebp, quantumdepth ? 8, fixDarwinDylibNames, nukeReferences
+, coreutils
 , runCommand
 , graphicsmagick  # for passthru.tests
 }:
@@ -19,6 +20,9 @@ stdenv.mkDerivation rec {
   ];
 
   configureFlags = [
+    # specify delegates explicitly otherwise `gm` will invoke the build
+    # coreutils for filetypes it doesn't natively support.
+    "MVDelegate=${lib.getExe' coreutils "mv"}"
     "--enable-shared"
     "--with-frozenpaths"
     "--with-quantum-depth=${toString quantumdepth}"