From c886a7c16fb5392dc3bc2563b21af1f848e4fc14 Mon Sep 17 00:00:00 2001 From: poz Date: Sun, 16 Nov 2025 00:42:52 +0100 Subject: [PATCH] mlton: enable aarch64-linux official binary for bootstrapping added in 20241230 --- pkgs/development/compilers/mlton/20241230-binary.nix | 5 +++++ pkgs/development/compilers/mlton/meta.nix | 1 + 2 files changed, 6 insertions(+) diff --git a/pkgs/development/compilers/mlton/20241230-binary.nix b/pkgs/development/compilers/mlton/20241230-binary.nix index f73d1dfcbc75..542f05066db4 100644 --- a/pkgs/development/compilers/mlton/20241230-binary.nix +++ b/pkgs/development/compilers/mlton/20241230-binary.nix @@ -19,6 +19,11 @@ stdenv.mkDerivation rec { url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${pname}-${version}-1.amd64-linux.ubuntu-24.04_glibc2.39.tgz"; sha256 = "sha256-ldXnjHcWGu77LP9WL6vTC6FngzhxPFAUflAA+bpIFZM="; }) + else if stdenv.hostPlatform.system == "aarch64-linux" then + (fetchurl { + url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${pname}-${version}-1.arm64-linux.ubuntu-24.04-arm_glibc2.39.tgz"; + sha256 = "sha256-rn65t253SfUShAM3kXiLQJHT7JS7EO3fAPB23LWIwfc="; + }) else if stdenv.hostPlatform.system == "x86_64-darwin" then (fetchurl { url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${pname}-${version}-1.amd64-darwin.macos-13_gmp-static.tgz"; diff --git a/pkgs/development/compilers/mlton/meta.nix b/pkgs/development/compilers/mlton/meta.nix index a967c741f819..e65714f12a9b 100644 --- a/pkgs/development/compilers/mlton/meta.nix +++ b/pkgs/development/compilers/mlton/meta.nix @@ -17,6 +17,7 @@ platforms = [ "i686-linux" "x86_64-linux" + "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];