mirror of
https://github.com/mroi/apple-internals.git
synced 2026-08-27 21:50:28 +02:00
switch to arm64
• my main machine is Apple Silicon now • filter architecture in objdump as it would normally output all archs
This commit is contained in:
@@ -19,12 +19,12 @@
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snap-util }: {
|
||||
packages.x86_64-darwin = let
|
||||
xcode = nixpkgs.legacyPackages.x86_64-darwin.xcodeenv.composeXcodeWrapper {};
|
||||
packages.aarch64-darwin = let
|
||||
xcode = nixpkgs.legacyPackages.aarch64-darwin.xcodeenv.composeXcodeWrapper {};
|
||||
in {
|
||||
|
||||
acextract =
|
||||
with nixpkgs.legacyPackages.x86_64-darwin;
|
||||
with nixpkgs.legacyPackages.aarch64-darwin;
|
||||
let xcodeHook = makeSetupHook {
|
||||
name = "xcode-hook";
|
||||
propagatedBuildInputs = [ xcode ];
|
||||
@@ -79,7 +79,7 @@
|
||||
};
|
||||
|
||||
dsc-extractor =
|
||||
with nixpkgs.legacyPackages.x86_64-darwin;
|
||||
with nixpkgs.legacyPackages.aarch64-darwin;
|
||||
stdenv.mkDerivation {
|
||||
name = "dsc-extractor-${lib.substring 0 8 self.inputs.dsc-extractor.lastModifiedDate}";
|
||||
src = dsc-extractor;
|
||||
@@ -87,7 +87,7 @@
|
||||
};
|
||||
|
||||
snap-util =
|
||||
with nixpkgs.legacyPackages.x86_64-darwin;
|
||||
with nixpkgs.legacyPackages.aarch64-darwin;
|
||||
let snapshot-header = fetchFromGitHub {
|
||||
owner = "apple";
|
||||
repo = "darwin-xnu";
|
||||
|
||||
Reference in New Issue
Block a user