flake: move to stdenvNoCC where xcode is used

This commit is contained in:
Michael Roitzsch
2025-05-13 11:51:14 +02:00
parent 50ba2072da
commit 8b7b181499

View File

@@ -29,7 +29,7 @@
name = "xcode-hook"; name = "xcode-hook";
propagatedBuildInputs = [ xcode ]; propagatedBuildInputs = [ xcode ];
} "${xcbuildHook}/nix-support/setup-hook"; } "${xcbuildHook}/nix-support/setup-hook";
in stdenv.mkDerivation { in stdenvNoCC.mkDerivation {
name = "acextract-${lib.substring 0 8 self.inputs.acextract.lastModifiedDate}"; name = "acextract-${lib.substring 0 8 self.inputs.acextract.lastModifiedDate}";
src = acextract; src = acextract;
nativeBuildInputs = [ xcodeHook ]; nativeBuildInputs = [ xcodeHook ];
@@ -94,7 +94,7 @@
rev = "xnu-6153.141.1"; rev = "xnu-6153.141.1";
hash = "sha256-/2aR6n5CbUobwbxkrGqBOAhCZLwDdIsoIOcpALhAUF8="; hash = "sha256-/2aR6n5CbUobwbxkrGqBOAhCZLwDdIsoIOcpALhAUF8=";
}; };
in stdenv.mkDerivation { in stdenvNoCC.mkDerivation {
name = "snap-util-${lib.substring 0 8 self.inputs.snap-util.lastModifiedDate}"; name = "snap-util-${lib.substring 0 8 self.inputs.snap-util.lastModifiedDate}";
src = snap-util; src = snap-util;
nativeBuildInputs = [ xcode ]; nativeBuildInputs = [ xcode ];