top-level/release-haskell.nix: use integer-simple GHC for static CI
This should avoid any licensing problems wrt GMP being LGPL.
This commit is contained in:
parent
015c6d73ad
commit
542b4497e9
|
@ -82,7 +82,7 @@ let
|
|||
recursiveUpdateMany = builtins.foldl' lib.recursiveUpdate {};
|
||||
|
||||
staticHaskellPackagesPlatforms =
|
||||
packagePlatforms pkgs.pkgsStatic.haskellPackages;
|
||||
packagePlatforms pkgs.pkgsStatic.haskell.packages.integer-simple.ghc8104;
|
||||
|
||||
jobs = recursiveUpdateMany [
|
||||
(mapTestOn {
|
||||
|
@ -98,7 +98,8 @@ let
|
|||
|
||||
# test some statically linked packages to catch regressions
|
||||
# and get some cache going for static compilation with GHC
|
||||
pkgsStatic.haskellPackages = {
|
||||
# Use integer-simple to avoid GMP linking problems (LGPL)
|
||||
pkgsStatic.haskell.packages.integer-simple.ghc8104 = {
|
||||
inherit (staticHaskellPackagesPlatforms)
|
||||
hello
|
||||
random
|
||||
|
@ -300,12 +301,12 @@ let
|
|||
};
|
||||
constituents = [
|
||||
# TODO: reenable darwin builds if static libiconv works
|
||||
jobs.pkgsStatic.haskellPackages.hello.x86_64-linux
|
||||
jobs.pkgsStatic.haskellPackages.hello.aarch64-linux
|
||||
jobs.pkgsStatic.haskellPackages.lens.x86_64-linux
|
||||
jobs.pkgsStatic.haskellPackages.lens.aarch64-linux
|
||||
jobs.pkgsStatic.haskellPackages.random.x86_64-linux
|
||||
jobs.pkgsStatic.haskellPackages.random.aarch64-linux
|
||||
jobs.pkgsStatic.haskell.packages.integer-simple.ghc8104.hello.x86_64-linux
|
||||
jobs.pkgsStatic.haskell.packages.integer-simple.ghc8104.hello.aarch64-linux
|
||||
jobs.pkgsStatic.haskell.packages.integer-simple.ghc8104.lens.x86_64-linux
|
||||
jobs.pkgsStatic.haskell.packages.integer-simple.ghc8104.lens.aarch64-linux
|
||||
jobs.pkgsStatic.haskell.packages.integer-simple.ghc8104.random.x86_64-linux
|
||||
jobs.pkgsStatic.haskell.packages.integer-simple.ghc8104.random.aarch64-linux
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue