summary refs log tree commit diff
path: root/pkgs/games/stockfish
diff options
context:
space:
mode:
authorTravis Whitton <travis@sharpspring.com>2021-02-22 11:55:33 -0500
committerTravis Whitton <travis@sharpspring.com>2021-02-22 11:55:33 -0500
commit202b3fe752a751d357eef7d39bceb26866031287 (patch)
tree9c3c1486539e4f5ae62031f0c0af2d8b9caa8605 /pkgs/games/stockfish
parentcb72a93d2e4d84c19599679a29794f9867443ef4 (diff)
downloadnixpkgs-202b3fe752a751d357eef7d39bceb26866031287.tar
nixpkgs-202b3fe752a751d357eef7d39bceb26866031287.tar.gz
nixpkgs-202b3fe752a751d357eef7d39bceb26866031287.tar.bz2
nixpkgs-202b3fe752a751d357eef7d39bceb26866031287.tar.lz
nixpkgs-202b3fe752a751d357eef7d39bceb26866031287.tar.xz
nixpkgs-202b3fe752a751d357eef7d39bceb26866031287.tar.zst
nixpkgs-202b3fe752a751d357eef7d39bceb26866031287.zip
stockfish: aarch64 build support
Diffstat (limited to 'pkgs/games/stockfish')
-rw-r--r--pkgs/games/stockfish/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/stockfish/default.nix b/pkgs/games/stockfish/default.nix
index 71c482fe766..ef9c7fbe4d6 100644
--- a/pkgs/games/stockfish/default.nix
+++ b/pkgs/games/stockfish/default.nix
@@ -10,6 +10,7 @@ let
     arch = if stdenv.isDarwin then archDarwin else
            if stdenv.isx86_64 then "x86-64" else
            if stdenv.isi686 then "x86-32" else
+           if stdenv.isAarch64 then "armv8" else
            "unknown";
     version = "12";
 
@@ -55,7 +56,7 @@ stdenv.mkDerivation {
       much stronger than the best human chess grandmasters.
       '';
     maintainers = with maintainers; [ luispedro peti ];
-    platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin"];
+    platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux"];
     license = licenses.gpl2;
   };