about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
Commit message (Collapse)AuthorAge
* ghc-8.4.3: minor fixes for cross-musl, same as used with 8.2.2Will Dietz2018-06-25
| | | | Patches are no longer needed, seem to be more or less upstreamed.
* ghc822: useLLVM when building against musl tooWill Dietz2018-06-23
|
* ghc843: apparently need LLVM when building against musl tooWill Dietz2018-06-23
|
* Merge staging into masterFrederik Rietdijk2018-06-22
|\
| * Merge pull request #42311 from obsidiansystems/haskell-enable-shared-defaultsJohn Ericson2018-06-21
| |\ | | | | | | haskell: make generic builder follow compiler’s shared config
| | * haskell: make generic builder follow compiler’s shared configMatthew Bauer2018-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | enableShared in generic-builder.nix should default to what the GHC compiler was compiled with. Add a passthru to all of the GHC compilers to hold the value of enableShared. If enableShared is not set in the GHC we just use false as the default value for enableSharedLibraries. Note: I may have missed some compilers. Only GHC & GHCJS are covered by this commit but this shouldn’t break evaluation of anything else.
| * | ghc8.4: add android tripleMatthew Bauer2018-06-20
| |/ | | | | | | | | | | | | The triple is needed for armv7a-android-prebuilt to work (partly) with GHC. - also set EXTRA_CC_OPTS for ghc8.2
* | Merge branch 'master' into stagingVladimír Čunát2018-06-20
|\| | | | | | | ~6k rebuilds per platform (mainly haskellPackages, I think).
| * ghc: drop compiler version 8.4.2; we prefer 8.4.3Peter Simons2018-06-17
| |
* | Merge pull request #37598 from dtzWill/feature/ghc-cross-muslJohn Ericson2018-06-18
|\ \ | |/ |/| ghc-{8.2.2,8.4.1}: fixups mostly for 2-stage cross, musl
| * ghc-{8.2.2,8.4.1}: fixups mostly for 2-stage cross, muslWill Dietz2018-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * grab patches from gentoo to fix various 2-stage cross build system bugs * explicitly set CrossCompilePrefix to the expected targetPrefix -- ensures everything has expected name and location -- fixes lack of prefix'ing when doing glibc -> musl "cross" * Stage1Only: only set if doing "true" cross * don't try to specify include/lib dirs for ncurses on cross -- only used by terminfo which actually removed the include option, and the lib option doesn't seem to do anything other than confuse the situation re:cross. Fixes #37522
* | Merge pull request #42050 from obsidiansystems/fix-ios-ghcMatthew Justin Bauer2018-06-14
|\ \ | | | | | | ghc8.4: build statically on prebuilt iOS
| * | ghc8.4: build statically on prebuilt iOSMatthew Bauer2018-06-14
| | | | | | | | | | | | | | | | | | | | | Otherwise we run into issues in stage 1 with libffi.dylib unable to be built. It is probably a similar case to the prebuilt Android. /cc @ericson2314
* | | ghc8.4.3: add gmp available checkMatthew Bauer2018-06-14
|/ / | | | | | | | | This was left out in 812decd5c1abe497d44d7752fb295b69d6eed100 & should be therer.
* / ghc: Default integer-simple usage based one whether GNU MP is availableJohn Ericson2018-06-11
|/ | | | The user's choice is still always respected
* ghc: add version 8.4.3Peter Simons2018-05-30
|
* haskell.compiler.ghcHEAD: disable format hardeningPeter Simons2018-05-30
|
* haskell.compiler.ghc7103: disable format hardeningPeter Simons2018-05-30
|
* ghc: build version >8.4 with hscolour to enable source linksPeter Simons2018-05-30
| | | | Fixes https://github.com/NixOS/nixpkgs/issues/41179.
* haskell.compiler.ghc842: disable format hardeningJan Malakhovski2018-05-29
|
* haskell.compiler.ghc802: disable format hardening, else tests will failJan Malakhovski2018-05-29
|
* Merge branch 'master' into stagingJan Malakhovski2018-05-26
|\ | | | | | | | | | | Fixed conflicts: - lib/systems/for-meta.nix: in favor of staging - pkgs/os-specific/darwin/xcode/default.nix: in favor of master
| * ghc 8.4.2, head: Drop `libiconv` on windows.Moritz Angermann2018-05-23
| | | | | | | | nixpkgs#37012 and nixpkgs#37707 introduces the setup-hooks for libiconv, which inject `-liconv` into the `NIX_LDFLAGS`. This breaks horribly on windows where the linker end up having no idea how to linke `-liconv`. The configure.ac file specifically ignores libiconv on windows.
| * ghc 8.4.2, head: Adjust enableShared enableTerminfo for windowsJohn Ericson2018-05-23
| |
| * ghc: paxmark all unwraped executables across the boardMoritz Angermann2018-05-23
| | | | | | | | | | | | Shell glob works even as the exact set of executable (filenames) varries beween configuations. Need to skip non ELFs (e.g. shell scripts), however.
| * ghc: Handle flavors betterJohn Ericson2018-05-23
| |
| * ghc: Normalize derivationsJohn Ericson2018-05-23
| |
* | ghc: disable format hardeningRobin Gloster2018-05-24
| |
* | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-23
|\| | | | | | | Use newer vagrant from master
| * Revert "ghc, haskell infra: #40642 direct to master"Peter Simons2018-05-23
| |
| * Merge pull request #40929 from obsidiansystems/cross-ghc-for-masterPeter Simons2018-05-22
| |\ | | | | | | ghc, haskell infra: #40642 direct to master
* | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-05-22
|\| |
| * | ghc: fix dylib load command limits in compiler version 8.xMoritz Angermann2018-05-22
| | | | | | | | | | | | | | | | | | | | | See https://phabricator.haskell.org/D4714 for the full details. This will be part of ghc 8.6. Closes https://github.com/NixOS/nixpkgs/pull/40877.
* | | Merge branch 'staging' into feature/clean-ghcJohn Ericson2018-05-21
|\ \ \ | |_|/ |/| |
| * | Merge branch 'master' into stagingVladimír Čunát2018-05-20
| |\|
| | * fix ghc bootstrap on non-nixos nonstd-storepathJack Cummings2018-05-19
| | | | | | | | | | | | | | | | | | | | | | | | Something goes amiss in the configurePhase and binaries start picking up system binaries and everything falls apart. Patch the configure script to use a bourne shell out of the store, and things are happier. Closes https://github.com/NixOS/nixpkgs/pull/40691.
| * | Merge remote-tracking branch 'upstream/staging' into strictDepsJohn Ericson2018-05-14
| |\ \
| | * | Merge master into stagingFrederik Rietdijk2018-05-10
| | |\|
| | * | Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-05-03
| | |\ \
| | * \ \ Merge branch 'staging' into fix-ncurses-darwin-extensionsMatthew Justin Bauer2018-05-02
| | |\ \ \
| | | * | | tree-wide: disable `doCheck` and `doInstallCheck` where it fails (the ↵Jan Malakhovski2018-04-25
| | | | | | | | | | | | | | | | | | | | | | | | trivial part)
| * | | | | treewide: Get rid of all uses of crossConfigJohn Ericson2018-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hack of using `crossConfig` to enforce stricter handling of dependencies is replaced with a dedicated `strictDeps` for that purpose. (Experience has shown that my punning was a terrible idea that made more difficult and embarrising to teach teach.) Now that is is clear, a few packages now use `strictDeps`, to fix various bugs: - bintools-wrapper and cc-wrapper
| * | | | | treewide: isArm -> isAarch32John Ericson2018-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following legacy packing conventions, `isArm` was defined just for 32-bit ARM instruction set. This is confusing to non packagers though, because Aarch64 is an ARM instruction set. The official ARM overview for ARMv8[1] is surprisingly not confusing, given the overall state of affairs for ARM naming conventions, and offers us a solution. It divides the nomenclature into three levels: ``` ISA: ARMv8 {-A, -R, -M} / \ Mode: Aarch32 Aarch64 | / \ Encoding: A64 A32 T32 ``` At the top is the overall v8 instruction set archicture. Second are the two modes, defined by bitwidth but differing in other semantics too, and buttom are the encodings, (hopefully?) isomorphic if they encode the same mode. The 32 bit encodings are mostly backwards compatible with previous non-Thumb and Thumb encodings, and if so we can pun the mode names to instead mean "sets of compatable or isomorphic encodings", and then voilà we have nice names for 32-bit and 64-bit arm instruction sets which do not use the word ARM so as to not confused either laymen or experienced ARM packages. [1]: https://developer.arm.com/products/architecture/a-profile (cherry picked from commit ba52ae50488de85a9cf60a3a04f1c9ca7122ec74)
* | | | | | ghc 8.4.2, head: Drop `libiconv` on windows.Moritz Angermann2018-05-21
| | | | | | | | | | | | | | | | | | | | | | | | nixpkgs#37012 and nixpkgs#37707 introduces the setup-hooks for libiconv, which inject `-liconv` into the `NIX_LDFLAGS`. This breaks horribly on windows where the linker end up having no idea how to linke `-liconv`. The configure.ac file specifically ignores libiconv on windows.
* | | | | | ghc 8.4.2, head: Adjust enableShared enableTerminfo for windowsJohn Ericson2018-05-21
| | | | | |
* | | | | | ghc: paxmark all unwraped executables across the boardMoritz Angermann2018-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shell glob works even as the exact set of executable (filenames) varries beween configuations.
* | | | | | ghc: Handle flavors betterJohn Ericson2018-05-21
| | | | | |
* | | | | | ghc: Normalize derivationsJohn Ericson2018-05-21
| |_|_|_|/ |/| | | |
* | | | | Fix hsc2hs cross compiler buildWill Fancher2018-05-09
| | | | |
* | | | | Don't enableShared in GHC when using android prebuiltWill Fancher2018-05-07
| | | | |