fpc: add support for aarch64-linux

Supported since fpc 3.2.0.
This commit is contained in:
Timo Kaufmann
2020-09-03 14:52:26 +02:00
parent f928b91f34
commit 6ff5c406eb
2 changed files with 15 additions and 1 deletions
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/project/freepascal/Linux/${version}/fpc-${version}-x86_64-linux.tar";
sha256 = "0gfbwjvjqlx0562ayyl08khagslrws758al2yhbi4bz5rzk554ni";
}
else if stdenv.hostPlatform.system == "aarch64-linux" then
fetchurl {
url = "mirror://sourceforge/project/freepascal/Linux/${version}/fpc-${version}.aarch64-linux.tar";
sha256 = "1h481ngg3m8nlsg9mw7rr1bn2c4sj4wzqny9bxyq3xvcral12r71";
}
else throw "Not supported on ${stdenv.hostPlatform.system}.";
builder = ./binary-builder.sh;