haskell.nix/builder
Alexander Kudryashov de3f82a419
Add native musl support (#578)
* Add native musl support

- adds haskellLibl.isNaviveMusl and related fixes (previously it was
assumed that for musl we always use cross-compilation)
- fixed some issues for musl intoduced in nixpkgs 20.03 (ssh/fetchcvs
infinite recursion, busybox pkgsMusl.pkgsStatic chain, etc.)
- cross-compilation fixes for ghc (absolute path for ar, always pass
target to configure, libffi and gmp packages for target platform) -
this needs more testing

* Better explanation for targetPlatform.{libffi, gmp}

* Ghc configure script now respect AR env variable


Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
2020-05-08 15:32:40 +08:00
..
comp-builder.nix Add native musl support (#578) 2020-05-08 15:32:40 +08:00
default.nix Add native musl support (#578) 2020-05-08 15:32:40 +08:00
ghc-for-component-wrapper.nix Add native musl support (#578) 2020-05-08 15:32:40 +08:00
hspkg-builder.nix build ghcjs (#382) 2020-02-09 20:03:22 +08:00
make-config-files.nix Properly build profling executables (#571) 2020-05-01 20:24:20 +08:00
setup-builder.nix build ghcjs (#382) 2020-02-09 20:03:22 +08:00
shell-for.nix Make it easier to access executable components (#565) 2020-04-29 19:10:14 +12:00