diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2024-02-23 13:49:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 13:49:14 -0500 |
commit | 625c6189ff5e0568ecb65715806b9faeccfea427 (patch) | |
tree | 57c1cefd4c67e13964634415b03a799bebc4fcea /pkgs | |
parent | d6c42504399632ae3851603be6923bb5af475fc6 (diff) | |
parent | 534375c4ba6ea76c52cf4645ac516d4adfbd7ded (diff) |
Merge pull request #290749 from macalinao/igm/stockfish-darwin-arm
stockfish: support aarch64-darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/stockfish/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/stockfish/default.nix b/pkgs/games/stockfish/default.nix index bd42da9c70285..21e3151b5844e 100644 --- a/pkgs/games/stockfish/default.nix +++ b/pkgs/games/stockfish/default.nix @@ -4,7 +4,7 @@ let # The x86-64-modern may need to be refined further in the future # but stdenv.hostPlatform CPU flags do not currently work on Darwin # https://discourse.nixos.org/t/darwin-system-and-stdenv-hostplatform-features/9745 - archDarwin = if stdenv.isx86_64 then "x86-64-modern" else "x86-64"; + archDarwin = if stdenv.isx86_64 then "x86-64-modern" else "apple-silicon"; arch = if stdenv.isDarwin then archDarwin else if stdenv.isx86_64 then "x86-64" else if stdenv.isi686 then "x86-32" else @@ -55,7 +55,7 @@ stdenv.mkDerivation rec { much stronger than the best human chess grandmasters. ''; maintainers = with maintainers; [ luispedro siraben ]; - platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux"]; + platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]; license = licenses.gpl3Only; }; |