Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
bed0a2d
Only redirect to buildable targets (#2356)
hamishmack May 12, 2025
d4fd889
Update Hackage and Stackage
May 13, 2025
ae2e6b1
Update Hackage and Stackage
May 14, 2025
091ca38
Update Hackage and Stackage
May 15, 2025
d39a985
Fix terminfo dep in dummy ghc for haskeline (#2360)
hamishmack May 15, 2025
e985453
Update Hackage and Stackage
May 16, 2025
008e8cc
Bump nixpkgs pins (#2354)
hamishmack May 16, 2025
c2f7501
Update Hackage and Stackage
May 17, 2025
567ccb0
Update Hackage and Stackage
May 18, 2025
6e14de0
Update Hackage and Stackage
May 19, 2025
38b794f
Update Hackage and Stackage
May 20, 2025
76ab13f
Log to stderr instead of stdout from hix run. Fix indentation. (#2364)
demaledetti May 20, 2025
e7397dd
Update Hackage and Stackage
May 21, 2025
8215b63
Only include --dependency for sublibs with package name prefix (#2363)
hamishmack May 21, 2025
e9c8942
Fix #2365 missing pg_config (#2366)
hamishmack May 21, 2025
8ffd824
Update Hackage and Stackage
May 22, 2025
2db7bed
Use latest `lts` version for `haskel-nix.haskellPackages` (#2368)
hamishmack May 22, 2025
0cf517d
Fix selection of dependencies for dev shells (#2367)
hamishmack May 22, 2025
326877b
Fix gh-pages update (#2369)
hamishmack May 22, 2025
0256345
Move doc upload into its own GitHub workflow (#2371)
hamishmack May 22, 2025
9fb4790
Fix job name (#2372)
hamishmack May 22, 2025
b921608
Fix date in changelog (#2373)
hamishmack May 22, 2025
463e08c
Fix postgresql-libpq-configure (#2370)
hamishmack May 22, 2025
dc67cf0
Update Hackage and Stackage
May 23, 2025
794d2e7
Update Hackage and Stackage
May 24, 2025
da5e52c
Include all pre-existing ghc pkgs in shell, unless exactDeps (#2375)
hamishmack May 24, 2025
154bc3a
Fix macOS frameworks without bringing back unwanted warnings (#2376)
hamishmack May 24, 2025
48c3fb5
Update Hackage and Stackage
May 25, 2025
339479e
Update Hackage and Stackage
May 26, 2025
cd9aad9
Update Hackage and Stackage
May 27, 2025
c006e86
Update Hackage and Stackage
May 28, 2025
5daedb0
Add empty set for flake input in #2378 (#2379)
hamishmack May 28, 2025
1bd57b0
Add a projectArgs CLI argument to hix run (#2378)
demaledetti May 28, 2025
dc76b5a
Update Hackage and Stackage
May 29, 2025
7707658
Avoid broken symlinks in haddock derivations (#2380)
hamishmack May 29, 2025
620fac3
Update Hackage and Stackage
May 30, 2025
272780e
Update Hackage and Stackage
May 31, 2025
681bbfa
Update Hackage and Stackage
Jun 1, 2025
6e8e48b
Update Hackage and Stackage
Jun 2, 2025
60bd090
Update Hackage and Stackage
Jun 3, 2025
8a92e90
Pre-existing pkgs: add `system-cxx-std-lib` (#2382)
amesgen Jun 3, 2025
8337a6e
Update Hackage and Stackage
Jun 4, 2025
d6f1c53
Update Hackage and Stackage
Jun 5, 2025
ff3259c
Update Hackage and Stackage
Jun 6, 2025
9e552b1
Add nixpkgs-2505 (#2377)
hamishmack Jun 6, 2025
dd55845
Update Hackage and Stackage
Jun 7, 2025
178aa6d
Update Hackage and Stackage
Jun 8, 2025
81adeee
Update Hackage and Stackage
Jun 9, 2025
26acfef
Replace isDragonfly with isDragonFly in nix-tools (#2384)
hamishmack Jun 9, 2025
0006048
Use `-threaded` for iserv-proxy (#2385)
hamishmack Jun 9, 2025
07980c9
Update Hackage and Stackage
Jun 10, 2025
70b7857
Update Hackage and Stackage
Jun 11, 2025
402740e
Update Hackage and Stackage
Jun 12, 2025
2243adf
Fix splitmix on android (#2388)
hamishmack Jun 12, 2025
2e3a85b
Run custom preprocessors before `setup haddock` (#2386)
hamishmack Jun 12, 2025
caecf93
Use haskell-language-server 2.11 (#2387)
hamishmack Jun 12, 2025
3c3eb1c
Update Hackage and Stackage
Jun 13, 2025
89698a9
Update Hackage and Stackage
Jun 14, 2025
edeafd2
Update Hackage and Stackage
Jun 15, 2025
96816a0
Update Hackage and Stackage
Jun 16, 2025
921b650
Update Hackage and Stackage
Jun 17, 2025
cd9ddc0
Update Hackage and Stackage
Jun 18, 2025
b83fd1d
Update Hackage and Stackage
Jun 19, 2025
76bdb3e
Use hackage.nix/index-state.nix (#2392)
hamishmack Jun 19, 2025
bd2866b
Fix cross compilation shells (#2393)
hamishmack Jun 19, 2025
efad04e
Fix `index-sha256` bit rot (#2390)
hamishmack Jun 19, 2025
cd01875
Allow using GHC with ld.lld (#2391)
TeofilC Jun 19, 2025
2e6de06
Update Hackage and Stackage
Jun 20, 2025
a605ce6
Update Hackage and Stackage
Jun 21, 2025
450eba5
Update Hackage and Stackage
Jun 22, 2025
a4b5fe1
Fix GHC 9.6 mingwW64 cross compile (#2394)
hamishmack Jun 23, 2025
78ebf39
Fix ghc-lib-parser 9.6.7 (#2395)
hamishmack Jun 23, 2025
a3f4355
Update Hackage and Stackage
Jun 24, 2025
acbaab3
Update Hackage and Stackage
Jun 25, 2025
c1b9d0a
Fix for HPUX, IOS and IRIX (#2389)
hamishmack Jun 25, 2025
c16c3c6
Update Hackage and Stackage
Jun 26, 2025
00c246f
Update Hackage and Stackage
Jun 27, 2025
c70f5f9
Update Hackage and Stackage
Jun 28, 2025
ca0eacf
Update Hackage and Stackage
Jun 29, 2025
ebb2877
Update Hackage and Stackage
Jun 30, 2025
f7bea98
Set EM_CACHE if needed in dev shell for GHCJS (#2397)
hamishmack Jun 30, 2025
225365a
Merge remote-tracking branch 'upstream/master' into mpj/bump-haskell-nix
michaelpj Jun 30, 2025
a134f1a
Bump nix-tools-static-for-default-setup
michaelpj Jul 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ jobs:
- name: "Check hix -- run github:haskell/cabal/3.10#cabal-install:exe:cabal -- --version"
run: "HIX_DIR=$(mktemp -d) nix run .#hix --accept-flake-config -- run github:haskell/cabal/3.10#cabal-install:exe:cabal --accept-flake-config --override-input haskellNix . -- --version"

nix-tools:
check-nix-tools:
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v4
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Updload Docs

on:
push:
branches:
- master

env:
GH_TOKEN: ${{ github.token }}

jobs:
upload-docs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Nix with good defaults
uses: input-output-hk/install-nix-action@v20
with:
extra_nix_config: |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk=
substituters = https://cache.nixos.org/ https://cache.iog.io/ https://cache.zw3rk.com
nix_path: nixpkgs=channel:nixos-unstable

- name: Update docs
run: |
nix-build build.nix -A maintainer-scripts.update-docs -o update-docs.sh
./update-docs.sh

- name: Upload docs
run: |
git config --global user.name 'Auto Update Bot'
git config --global user.email '[email protected]'
git push origin gh-pages
2 changes: 1 addition & 1 deletion .github/workflows/upload-artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Wait for Hydra Build
name: Update Static Nix Tools

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ in rec {
inherit evalPackages;
src = pkgs.haskell-nix.sources."hls-2.2";
};
} // pkgs.lib.optionalAttrs (ghcFromTo "9.0" "9.10.2") {
} // pkgs.lib.optionalAttrs (ghcFromTo "9.0" "9.13") {
"hls" = tool compiler-nix-name "haskell-language-server" {
inherit evalPackages;
src = pkgs.haskell-nix.sources."hls-2.10";
src = pkgs.haskell-nix.sources."hls-2.11";
};
})
);
Expand Down
11 changes: 7 additions & 4 deletions builder/comp-builder.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, stdenv, buildPackages, pkgsBuildBuild, ghc, lib, gobject-introspection ? null, haskellLib, makeConfigFiles, haddockBuilder, ghcForComponent, hsPkgs, compiler, runCommand, libffi, gmp, windows, zlib, ncurses, nodejs, nonReinstallablePkgs }@defaults:
{ pkgs, stdenv, buildPackages, pkgsBuildBuild, ghc, llvmPackages, lib, gobject-introspection ? null, haskellLib, makeConfigFiles, haddockBuilder, ghcForComponent, hsPkgs, compiler, runCommand, libffi, gmp, windows, zlib, ncurses, nodejs, nonReinstallablePkgs }@defaults:
lib.makeOverridable (
let self =
{ componentId
Expand Down Expand Up @@ -383,7 +383,6 @@ let
env = shellWrappers.drv;
shell = drv.overrideAttrs (attrs: {
pname = nameOnly + "-shell";
inherit (package.identifier) version;
nativeBuildInputs = [shellWrappers.drv] ++ attrs.nativeBuildInputs;
});
profiled = lib.makeOverridable self (drvArgs // { enableLibraryProfiling = true; });
Expand Down Expand Up @@ -431,7 +430,8 @@ let
nativeBuildInputs =
[ghc buildPackages.removeReferencesTo]
++ executableToolDepends
++ (lib.optional stdenv.hostPlatform.isGhcjs buildPackages.nodejs);
++ (lib.optional stdenv.hostPlatform.isGhcjs buildPackages.nodejs)
++ (lib.optional (ghc.useLdLld or false) llvmPackages.bintools);

outputs = ["out"]
++ (lib.optional keepConfigFiles "configFiles")
Expand All @@ -448,6 +448,10 @@ let
(lib.optionalString stdenv.hostPlatform.isGhcjs ''
export HOME=$(mktemp -d)
export EM_CACHE=$(mktemp -d)
if [ -d ${pkgsBuildBuild.emscripten}/share/emscripten/cache ]; then
cp -r ${pkgsBuildBuild.emscripten}/share/emscripten/cache/* $EM_CACHE/
chmod +w -R $EM_CACHE
fi
'') +
(lib.optionalString (!canCleanSource) ''
echo "Cleaning component source not supported, leaving it un-cleaned"
Expand Down Expand Up @@ -595,7 +599,6 @@ let
(''
if id=$(${target-pkg-and-db} field "z-${package.identifier.name}-z-*" id --simple-output); then
name=$(${target-pkg-and-db} field "z-${package.identifier.name}-z-*" name --simple-output)
echo "--dependency=''${name#z-${package.identifier.name}-z-}=$id" >> $out/exactDep/configure-flags
echo "package-id $id" >> $out/envDep
''
# Allow `package-name:sublib-name` to work in `build-depends`
Expand Down
2 changes: 1 addition & 1 deletion builder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ let

# Same as haskellPackages.shellFor in nixpkgs.
shellFor = haskellLib.weakCallPackage pkgs ./shell-for.nix {
inherit hsPkgs ghcForComponent makeConfigFiles hoogleLocal haskellLib pkgsBuildBuild evalPackages compiler;
inherit hsPkgs ghcForComponent makeConfigFiles hoogleLocal haskellLib pkgsBuildBuild evalPackages compiler ghc;
inherit (buildPackages) glibcLocales;
};

Expand Down
4 changes: 2 additions & 2 deletions builder/ghc-for-component-wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ let
${lndir}/bin/lndir -silent $unwrappedGhc $wrappedGhc
rm -rf ${libDir}/*/
''
# ... but retain the lib/ghc/bin directory. This contains `unlit' and friends.
# ... but retain the lib/ghc/bin directory. This may contain `unlit' and friends.
+ ''
if [ -d $unwrappedGhc/lib/${ghcCommand}-${ghc.version}/bin ]; then
ln -s $unwrappedGhc/lib/${ghcCommand}-${ghc.version}/bin ${libDir}
else
elif [ -d $unwrappedGhc/lib/bin ]; then
ln -s $unwrappedGhc/lib/bin ${libDir}
fi
''
Expand Down
19 changes: 15 additions & 4 deletions builder/haddock-builder.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildPackages, lib, haskellLib, ghc, ghcForComponent, nonReinstallablePkgs, runCommand, writeText, writeScript, makeConfigFiles }:
{ stdenv, buildPackages, lib, haskellLib, ghc, ghcForComponent, nonReinstallablePkgs, runCommand, writeText, writeScript, makeConfigFiles, llvmPackages }:

{ componentId
, component
Expand Down Expand Up @@ -80,7 +80,8 @@ let

nativeBuildInputs =
[ ghc buildPackages.removeReferencesTo ]
++ componentDrv.executableToolDepends;
++ componentDrv.executableToolDepends
++ (lib.optional (ghc.useLdLld or false) llvmPackages.bintools);

configurePhase = ''
mkdir -p $configFiles
Expand Down Expand Up @@ -109,6 +110,12 @@ let

# If we don't have any source files, no need to run haddock
[[ -n $(find . -name "*.hs" -o -name "*.lhs") ]] && {
# Run any preprocessor in the custom build step
$SETUP_HS build \
"--with-ghc=false" \
${lib.optionalString (haskellLib.isTest componentId) "--tests"} \
${lib.concatStringsSep " " setupHaddockFlags} || true

$SETUP_HS haddock \
"--html" \
${lib.optionalString (haskellLib.isTest componentId) "--tests"} \
Expand Down Expand Up @@ -151,8 +158,12 @@ let
${ghc.targetPrefix}ghc-pkg -v0 --package-db $configFiles/${configFiles.packageCfgDir} -f $out/package.conf.d register "$pkg"
done

ln -s ${componentDrv}/exactDep $out/exactDep
ln -s ${componentDrv}/envDep $out/envDep
if [ -d ${componentDrv}/exactDep ]; then
ln -s ${componentDrv}/exactDep $out/exactDep
fi
if [ -f ${componentDrv}/envDep ]; then
ln -s ${componentDrv}/envDep $out/envDep
fi
'';
}
// haskellLib.optionalHooks {
Expand Down
4 changes: 2 additions & 2 deletions builder/setup-builder.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, stdenv, lib, buildPackages, haskellLib, ghc, nonReinstallablePkgs, hsPkgs, makeSetupConfigFiles }@defaults:
{ pkgs, stdenv, lib, buildPackages, haskellLib, ghc, nonReinstallablePkgs, hsPkgs, makeSetupConfigFiles, llvmPackages }@defaults:

let self =
{ component, package, name, src, enableDWARF ? false, flags ? {}, revision ? null, patches ? [], defaultSetupSrc
Expand Down Expand Up @@ -67,7 +67,7 @@ let
++ builtins.concatLists component.pkgconfig
++ configFiles.libDeps
++ [ghc]; # Needs to be a build input so that the boot libraries are included
nativeBuildInputs = [ghc] ++ executableToolDepends;
nativeBuildInputs = [ghc] ++ executableToolDepends ++ (lib.optional (ghc.useLdLld or false) llvmPackages.bintools);

passthru = {
inherit (package) identifier;
Expand Down
18 changes: 13 additions & 5 deletions builder/shell-for.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, mkShell, glibcLocales, ghcForComponent, makeConfigFiles, hsPkgs, hoogleLocal, haskellLib, pkgsBuildBuild, evalPackages, compiler }:
{ lib, stdenv, mkShell, glibcLocales, ghcForComponent, makeConfigFiles, hsPkgs, hoogleLocal, haskellLib, pkgsBuildBuild, evalPackages, compiler, haskell-nix, ghc }:

{ # `packages` function selects packages that will be worked on in the shell itself.
# These packages will not be built by `shellFor`, but their
Expand Down Expand Up @@ -93,6 +93,11 @@ let
(removeSelectedInputs (haskellLib.uniqueWithName (lib.concatMap (cfg: cfg.depends) selectedConfigs))
++ additionalPackages);

# For non haskell dependencies (and `pre-existing` haskell packages)
# we want to search all the configs.
allConfigs = selectedConfigs ++
builtins.map (x: (haskellLib.dependToLib x).config) additionalPackages;

# Add the system libraries and build tools of the selected haskell packages to the shell.
# We need to remove any inputs which are selected components (see above).
# `buildInputs`, `propagatedBuildInputs`, and `executableToolDepends` contain component
Expand All @@ -115,10 +120,13 @@ let
# Set up a "dummy" component to use with ghcForComponent.
component = {
depends = packageInputs;
pre-existing = lib.concatMap (x: (haskellLib.dependToLib x).config.pre-existing or []) packageInputs;
libs = lib.concatMap (x: (haskellLib.dependToLib x).config.libs or []) packageInputs;
pkgconfig = lib.concatMap (x: (haskellLib.dependToLib x).config.pkgconfig or []) packageInputs;
frameworks = lib.concatMap (x: (haskellLib.dependToLib x).config.frameworks or []) packageInputs;
pre-existing =
if exactDeps
then lib.unique (lib.concatMap (x: (haskellLib.dependToLib x).pre-existing or []) allConfigs)
else haskell-nix.ghc-pre-existing ghc;
libs = haskellLib.uniqueWithName (lib.concatMap (x: (haskellLib.dependToLib x).libs or []) allConfigs);
pkgconfig = haskellLib.uniqueWithName (lib.concatMap (x: (haskellLib.dependToLib x).pkgconfig or []) allConfigs);
frameworks = haskellLib.uniqueWithName (lib.concatMap (x: (haskellLib.dependToLib x).frameworks or []) allConfigs);
doExactConfig = false;
};
configFiles = makeConfigFiles {
Expand Down
4 changes: 2 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
This file contains a summary of changes to Haskell.nix and `nix-tools`
that will impact users.

## Jan 29, 2024
## Jan 29, 2025

Removed GHC <9.6 from CI.

The latest `nixpkgs-unstable` cause problems with
The latest `nixpkgs-unstable` caused problems with
* GHC 8.10.7
* GHC 9.6.6 mingwW64 (ucrt64 works still as does mingwW64
with newer GHC versions)
Expand Down
34 changes: 20 additions & 14 deletions ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# short names for nixpkgs versions
nixpkgsVersions = {
"R2411" = inputs.nixpkgs-2411;
"R2505" = inputs.nixpkgs-2505;
"unstable" = inputs.nixpkgs-unstable;
};

Expand All @@ -43,6 +43,14 @@
"libdwarf-20181024"
"dwarfdump-20181024"
];
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"android-sdk-ndk"
"android-sdk-platform-tools"
"aarch64-unknown-linux-android-ndk-toolchain-wrapper"
"aarch64-unknown-linux-android-ndk-toolchain"
"armv7a-unknown-linux-androideabi-ndk-toolchain-wrapper"
"armv7a-unknown-linux-androideabi-ndk-toolchain"
];
};
};

Expand All @@ -57,11 +65,11 @@
# cabal-install and nix-tools plans. When removing a ghc version
# from here (so that is no longer cached) also remove ./materialized/ghcXXX.
# Update supported-ghc-versions.md to reflect any changes made here.
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2411") {
ghc96 = true;
ghc98 = true;
ghc910 = true;
ghc912 = true;
nixpkgs.lib.optionalAttrs (builtins.elem nixpkgsName ["R2411" "R2505"]) {
ghc96 = false;
ghc98 = false;
ghc910 = false;
ghc912 = false;
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
ghc96 = true;
ghc98 = true;
Expand All @@ -77,15 +85,11 @@
let lib = nixpkgs.lib;
in lib.optionalAttrs (nixpkgsName == "unstable"
&& (__match ".*llvm" compiler-nix-name == null)
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"])
|| (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"])
|| (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc967" "ghc96720250227" "ghc982" "ghc983" "ghc984"])
|| (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc967" "ghc96720250227" "ghc982" "ghc983" "ghc984"])
)) {
&& !builtins.elem compiler-nix-name ["ghc9102"]) {
inherit (lib.systems.examples) ghcjs;
} // lib.optionalAttrs (nixpkgsName == "unstable"
&& (__match ".*llvm" compiler-nix-name == null)
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc966" "ghc967" "ghc96720250227"]) # Not sure why GHC 9.6.6 TH code now wants `log1pf`
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928"])
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
inherit (lib.systems.examples) mingwW64;
} // lib.optionalAttrs (nixpkgsName == "unstable"
Expand All @@ -100,8 +104,10 @@
} // lib.optionalAttrs (__match ".*llvm" compiler-nix-name == null && system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) {
# Out llvm versions of GHC seem to break for musl32
inherit (lib.systems.examples) musl32;
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "R2411" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) {
inherit (lib.systems.examples) aarch64-android-prebuilt armv7a-android-prebuilt;
} // lib.optionalAttrs (system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) {
inherit (lib.systems.examples) aarch64-android-prebuilt;
} // lib.optionalAttrs (system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc91320250523"]) {
inherit (lib.systems.examples) armv7a-android-prebuilt;
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) {
# TODO fix this for the compilers we build with hadrian (ghc >=9.4)
inherit (lib.systems.examples) aarch64-multiplatform-musl;
Expand Down
Loading
Loading