jan: use stdenvNoCC on darwin

The darwin build only unpacks a prebuilt bundle and wraps it; nothing
is compiled, so the C toolchain is unnecessary.

Assisted-by: Claude Code
This commit is contained in:
dfjay
2026-07-25 02:26:00 +05:00
parent e305a74907
commit 9b97dae064
+3 -3
View File
@@ -5,7 +5,7 @@
config,
cudaPackages,
cudaSupport ? config.cudaSupport,
stdenv,
stdenvNoCC,
fetchzip,
makeWrapper,
}:
@@ -62,7 +62,7 @@ let
inherit passthru meta;
};
darwin = stdenv.mkDerivation {
darwin = stdenvNoCC.mkDerivation {
inherit pname version;
src = darwin-src;
@@ -89,4 +89,4 @@ let
inherit passthru meta;
};
in
if stdenv.hostPlatform.isDarwin then darwin else linux
if stdenvNoCC.hostPlatform.isDarwin then darwin else linux