obscura: add darwin support

Add aarch64-darwin support: prebuilt librusty_v8 archive hash, meta.platforms entry, and update.sh prefetch for the aarch64-apple-darwin release.
This commit is contained in:
Dallin Hogenson
2026-08-21 11:14:05 -06:00
parent b0d43eb197
commit 27e30e6529
3 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ let
hashes = {
x86_64-linux = "0rv5nl4gcbvdpk3mdwbqvw180nfx2wk173q1cqrvv2h1agg1ys52";
aarch64-linux = "14kci8zl7i5cjrbf2jyky5i9gpa4bsjw8khfk4xc8yf1875x0s73";
aarch64-darwin = "0w70ykqip4a84z3cb5vibdqw91lywwahl9pc05mw8lp54ikksl30";
};
in
stdenv.mkDerivation {

View File

@@ -74,6 +74,7 @@ rustPlatform.buildRustPackage rec {
platforms = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
};

View File

@@ -36,6 +36,7 @@ let
hashes = {
x86_64-linux = "$(nix-prefetch-url --type sha256 "https://github.com/denoland/rusty_v8/releases/download/v${NEW_VERSION}/librusty_v8_release_x86_64-unknown-linux-gnu.a.gz")";
aarch64-linux = "$(nix-prefetch-url --type sha256 "https://github.com/denoland/rusty_v8/releases/download/v${NEW_VERSION}/librusty_v8_release_aarch64-unknown-linux-gnu.a.gz")";
aarch64-darwin = "$(nix-prefetch-url --type sha256 "https://github.com/denoland/rusty_v8/releases/download/v${NEW_VERSION}/librusty_v8_release_aarch64-apple-darwin.a.gz")";
};
in
stdenv.mkDerivation {