resilio-sync: add aarch64 support

This commit is contained in:
Ryan Horiguchi 2020-11-10 21:19:33 +01:00
parent e50eb89d52
commit 129c30e26d
No known key found for this signature in database
GPG Key ID: CA7EE98D45A1132A

View File

@ -4,6 +4,7 @@ let
arch = { arch = {
x86_64-linux = "x64"; x86_64-linux = "x64";
i686-linux = "i386"; i686-linux = "i386";
aarch64-linux = "arm64";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.libc ]; libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.libc ];
@ -16,6 +17,7 @@ in stdenv.mkDerivation rec {
sha256 = { sha256 = {
x86_64-linux = "0gar5lzv1v4yqmypwqsjnfb64vffzn8mw9vnjr733fgf1pmr57hf"; x86_64-linux = "0gar5lzv1v4yqmypwqsjnfb64vffzn8mw9vnjr733fgf1pmr57hf";
i686-linux = "1bws7r86h1vysjkhyvp2zk8yvxazmlczvhjlcayldskwq48iyv6w"; i686-linux = "1bws7r86h1vysjkhyvp2zk8yvxazmlczvhjlcayldskwq48iyv6w";
aarch64-linux = "0j8wk5cf8bcaaqxi8gnqf1mpv8nyfjyr4ibls7jnn2biqq767af2";
}.${stdenv.hostPlatform.system}; }.${stdenv.hostPlatform.system};
}; };