mirror of
https://github.com/mroi/apple-internals.git
synced 2026-02-12 17:12:44 +00:00
flake: update nixpkgs
• stdenvNoCC no longer requires clearing DEVELOPER_DIR and SDKROOT • add package builds as checks
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -50,11 +50,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734988233,
|
"lastModified": 1756381814,
|
||||||
"narHash": "sha256-Ucfnxq1rF/GjNP3kTL+uTfgdoE9a3fxDftSfeLIS8mA=",
|
"narHash": "sha256-tzo7YvAsGlzo4WiIHT0ooR59VHu+aKRQdHk7sIyoia4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "de1864217bfa9b5845f465e771e0ecb48b30e02d",
|
"rev": "aca2499b79170038df0dbaec8bf2f689b506ad32",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snap-util }: {
|
outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snap-util }: {
|
||||||
|
|
||||||
packages.aarch64-darwin = let
|
packages.aarch64-darwin = let
|
||||||
xcode = nixpkgs.legacyPackages.aarch64-darwin.xcodeenv.composeXcodeWrapper {};
|
xcode = nixpkgs.legacyPackages.aarch64-darwin.xcodeenv.composeXcodeWrapper {};
|
||||||
in {
|
in {
|
||||||
@@ -99,7 +100,6 @@
|
|||||||
src = snap-util;
|
src = snap-util;
|
||||||
nativeBuildInputs = [ xcode ];
|
nativeBuildInputs = [ xcode ];
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
unset DEVELOPER_DIR SDKROOT
|
|
||||||
NIX_CFLAGS_COMPILE='-idirafter ${snapshot-header}/bsd'
|
NIX_CFLAGS_COMPILE='-idirafter ${snapshot-header}/bsd'
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@@ -137,5 +137,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checks = self.packages;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user