mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
imagemagick: remove build coreutils from cross-compiled output
This commit is contained in:
parent
0421b8d99c
commit
abc8ebc206
@ -25,6 +25,7 @@
|
||||
, libwebpSupport ? !stdenv.hostPlatform.isMinGW, libwebp
|
||||
, libheifSupport ? true, libheif
|
||||
, potrace
|
||||
, coreutils
|
||||
, curl
|
||||
, ApplicationServices
|
||||
, Foundation
|
||||
@ -64,6 +65,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
# specify delegates explicitly otherwise `convert` will invoke the build
|
||||
# coreutils for filetypes it doesn't natively support.
|
||||
"MVDelegate=${lib.getExe' coreutils "mv"}"
|
||||
"RMDelegate=${lib.getExe' coreutils "rm"}"
|
||||
"--with-frozenpaths"
|
||||
(lib.withFeatureAs (arch != null) "gcc-arch" arch)
|
||||
(lib.withFeature librsvgSupport "rsvg")
|
||||
|
Loading…
Reference in New Issue
Block a user