Skip to content

Commit ee82789

Browse files
mitchmindtreealdoborrero
authored andcommitted
feat: Enable aarch64-darwin support for foundry
Originally this was disabled as solc were not providing builds for aarch64-darwin, however since version 0.8.24 they have switched to building "universal" binaries for macos. See this issue for context: - ethereum/solidity#12291
1 parent ee16bf8 commit ee82789

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pkgs/by-name/fo/foundry/default.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ rustPlatform.buildRustPackage rec {
7070
homepage = "https://github.com/foundry-rs/foundry";
7171
license = with licenses; [asl20 mit];
7272
maintainers = with maintainers; [mitchmindtree];
73-
# For now, solc binaries are only built for x86_64.
74-
# Track darwin-aarch64 here:
75-
# https://github.com/ethereum/solidity/issues/12291
76-
platforms = ["x86_64-linux" "x86_64-darwin"];
73+
# TODO: Change this to `platforms = platforms.unix;` when this is resolved:
74+
# https://github.com/ethereum/solidity/issues/11351
75+
platforms = ["aarch64-darwin" "x86_64-linux" "x86_64-darwin"];
7776
};
7877
}

0 commit comments

Comments
 (0)