mupdf: move xcbuild to nativeBuildInputs

xcbuild provides tools that execute during the build, so it needs to be
in `nativeBuildInputs` instead of `buildInputs`.
This commit is contained in:
Randy Eckenrode
2023-11-14 09:08:43 -05:00
committed by Mario Rodas
parent 0b6c600141
commit e892890088
+1 -2
View File
@@ -99,10 +99,9 @@ stdenv.mkDerivation rec {
++ lib.optional (enableGL || enableX11) copyDesktopItems
++ lib.optionals (enableCxx || enablePython) [ python3 python3.pkgs.setuptools python3.pkgs.libclang ]
++ lib.optionals (enablePython) [ which swig ]
++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle xcbuild ];
buildInputs = [ freetype harfbuzz openjpeg jbig2dec libjpeg gumbo ]
++ lib.optional stdenv.isDarwin xcbuild
++ lib.optionals enableX11 [ libX11 libXext libXi libXrandr ]
++ lib.optionals enableCurl [ curl openssl ]
++ lib.optionals enableGL (