flake: update for Xcode 14.3.1

makeSetupHook parameters changed
This commit is contained in:
Michael Roitzsch
2023-08-20 20:55:46 +02:00
parent 9d57a5527f
commit 4ed7ef68db
2 changed files with 11 additions and 8 deletions
Generated
+6 -6
View File
@@ -35,11 +35,11 @@
"dsc-extractor": { "dsc-extractor": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1662651226, "lastModified": 1688099356,
"narHash": "sha256-pI9pP5QhO1X2hdJTxVl8p1xp+bDJzzfCsVNebDUTd0o=", "narHash": "sha256-NaPFOiPwGdwVxxZr5eRklhD41IKw8DvYoZg0kLReY5k=",
"owner": "keith", "owner": "keith",
"repo": "dyld-shared-cache-extractor", "repo": "dyld-shared-cache-extractor",
"rev": "c9da45a40a70d9fc0d1c955190b9efb685e55cf6", "rev": "ac746c15a62f51e1ff32e4d101b5d8c70f2cb2fe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -50,11 +50,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1671936867, "lastModified": 1692494774,
"narHash": "sha256-tOok3/MJWoRUEoPU5Ma/cTCeuw8ACx3Ozu1MlFcdvc8=", "narHash": "sha256-noGVoOTyZ2Kr5OFglzKYOX48cx3hggdCPbXrYMG2FDw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "18ee49839ea8817218c3bfe3a62e06f47a10fdd5", "rev": "3476a10478587dec90acb14ec6bde0966c545cc0",
"type": "github" "type": "github"
}, },
"original": { "original": {
+5 -2
View File
@@ -25,12 +25,15 @@
outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snapshot-header, snap-util }: { outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snapshot-header, snap-util }: {
packages.x86_64-darwin = let packages.x86_64-darwin = let
xcode = (nixpkgs.legacyPackages.x86_64-darwin.xcodeenv.composeXcodeWrapper { xcode = (nixpkgs.legacyPackages.x86_64-darwin.xcodeenv.composeXcodeWrapper {
version = "14.3"; version = "14.3.1";
}).overrideAttrs (attrs: { __noChroot = true; }); }).overrideAttrs (attrs: { __noChroot = true; });
in { in {
acextract = acextract =
with import nixpkgs { system = "x86_64-darwin"; }; with import nixpkgs { system = "x86_64-darwin"; };
let xcodeHook = makeSetupHook { deps = [ xcode ]; } "${xcbuildHook}/nix-support/setup-hook"; let xcodeHook = makeSetupHook {
name = "xcode-hook";
propagatedBuildInputs = [ xcode ];
} "${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}";
src = acextract; src = acextract;