forked from mirrors/nixpkgs
haskell.compiler.ghcHEAD: 9.5.20220921 -> 9.7.20221224
Finally building a cross compiler using hadrian is possible, but there are some outstanding issues regarding external libraries in the package db which causes issues with ghc-bignum.
This commit is contained in:
parent
5df77ad6ee
commit
3665c429d3
|
@ -156,12 +156,6 @@
|
|||
|
||||
assert !enableNativeBignum -> gmp != null;
|
||||
|
||||
assert stdenv.hostPlatform == stdenv.targetPlatform || throw ''
|
||||
hadrian doesn't support building an installable GHC cross-compiler at the moment.
|
||||
Consider using GHC 9.4 or lower which support this via the make build system.
|
||||
See also: https://gitlab.haskell.org/ghc/ghc/-/issues/22090
|
||||
'';
|
||||
|
||||
let
|
||||
src = (if rev != null then fetchgit else fetchurl) ({
|
||||
inherit url sha256;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import ./common-hadrian.nix {
|
||||
version = "9.5.20220921";
|
||||
rev = "2463df2fe21b5b37ecada3df8c6726c534d24590";
|
||||
sha256 = "1k2h4myqbs31fdzw5n4iw0qn44mp7d33kjwrr15ix4r54r8yskzs";
|
||||
version = "9.7.20221224";
|
||||
rev = "a5bd0eb8dd1d03c54e1b0b476ebbc4cc886d6f19";
|
||||
sha256 = "1rrds9alzpy4vyh2isan32h1zmf44nsr8552wbsn1y3fg6bnpbxi";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue