flake: update for Xcode 13.2

This commit is contained in:
Michael Roitzsch
2022-01-02 14:56:43 +01:00
parent 8d62d3e215
commit b494b38956

View File

@@ -28,7 +28,7 @@
acextract = acextract =
with import nixpkgs { system = "x86_64-darwin"; }; with import nixpkgs { system = "x86_64-darwin"; };
let xcode = makeSetupHook { let xcode = makeSetupHook {
deps = [ (xcodeenv.composeXcodeWrapper { version = "13.1"; }) ]; deps = [ (xcodeenv.composeXcodeWrapper { version = "13.2"; }) ];
} "${xcbuildHook}/nix-support/setup-hook"; } "${xcbuildHook}/nix-support/setup-hook";
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "acextract-${lib.substring 0 8 self.inputs.acextract.lastModifiedDate}"; name = "acextract-${lib.substring 0 8 self.inputs.acextract.lastModifiedDate}";
@@ -89,7 +89,7 @@
stdenv.mkDerivation { stdenv.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 = [ (xcodeenv.composeXcodeWrapper { version = "13.1"; }) ]; nativeBuildInputs = [ (xcodeenv.composeXcodeWrapper { version = "13.2"; }) ];
preBuild = "NIX_CFLAGS_COMPILE='-idirafter ${snapshot-header}/bsd'"; preBuild = "NIX_CFLAGS_COMPILE='-idirafter ${snapshot-header}/bsd'";
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin