From 3799b9e0615077df213e2e5a6ddebd950fdcea81 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Thu, 5 Jun 2025 15:46:13 +0100 Subject: [PATCH] haskellPackages: fix aarch64-android-prebuilt release-haskell jobset --- pkgs/top-level/release-haskell.nix | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index b65b8095b288..6db198eca8e1 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -482,6 +482,26 @@ let }; pkgsCross = { + aarch64-android-prebuilt.pkgsStatic = + removePlatforms + [ + # Android NDK package doesn't support building on + "aarch64-darwin" + "aarch64-linux" + + "x86_64-darwin" + ] + { + haskell.packages.ghc912 = { + inherit + (packagePlatforms pkgs.pkgsCross.aarch64-android-prebuilt.pkgsStatic.haskell.packages.ghc912) + ghc + hello + microlens + ; + }; + }; + ghcjs = removePlatforms [ @@ -515,14 +535,6 @@ let ; }; - haskell.packages.ghc912 = { - inherit (packagePlatforms pkgs.pkgsCross.aarch64-android-prebuilt.haskell.packages.ghc912) - ghc - hello - microlens - ; - }; - haskell.packages.ghcHEAD = { inherit (packagePlatforms pkgs.pkgsCross.ghcjs.haskell.packages.ghcHEAD) ghc