summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/ghcjs
AgeCommit message (Collapse)Author
2024-04-27haskell.compiler.ghcjs: provide required ansi-wl-pprint < 0.7sternenseemann
Unfortunately the outdated version of optparse-applicative we need to use hasn't survived the ansi-wl-pprint deprecation…
2024-01-04haskell.compiler.ghcjs: expose `llvmPackages` attribute via passthruSergei Trofimovich
Files like `pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix` assume `ghc` always has an `llvmPackages` attribue. Let's expose `null` value from `ghcjs` to allow it's propagation. This fixes package evaluation for `ghcjs` packages.
2023-05-02haskell.compiler.ghcjs: fix build (#228749)Naïm Favier
Apply a patch from upstream `ghcjs/ghcjs/ghc-8.10` (not yet present in the obsidiansystems fork we follow) to fix a build failure caused by an emscripten update. As the patch itself modifies patches that are used during configuration (by `makePackages.sh`), it must be applied in the configured source derivation.
2022-12-30haskell.compiler.ghcjs: allow building with transformers-compat-0.7sternenseemann
ghcjs's dependency optparse-applicative 0.15.1.0 restricts transformers-compat to < 0.7 which is unnecessary.
2022-12-30haskell.compiler.ghcjs: drop stale override for webdriversternenseemann
webdriver-0.10.0.0 incorporated the changes we are interested.
2022-06-13haskell.packages.ghcjs.ghcjs-base: 0.2.0.3 → 0.2.1.0Joachim Breitner
the new upstream release makes it build with aeson-2.0.
2022-04-11haskell.compiler.ghcjs: fix build with aeson 2.0sternenseemann
2022-03-29haskellPackages.ghcjs-base_0_2_0_3: switch to fetchFromGitHubFelix Buehler
2022-03-25treewide: replace defunct git://github.com urls with https://Lucas Hoffmann
Github has removed support for git://github.com and recommends https://github.com instead. See https://github.blog/2021-09-01-improving-git-protocol-security-github/
2022-01-07treewide: replace http://github.com with https://github.comBen Siraphob
2021-12-22Merge pull request #151689 from Gabriel439/gabriella/fix_ghcjs_config.subJohn Ericson
haskell.compiler.ghcjs: Don't use upstream `config.sub`
2021-12-22haskell.compiler.ghcjs: Fix Linux build (#151699)Gabriella Gonzalez
Before this change the GHCJS build fails on Linux with: ``` Setup: Missing dependency on a foreign library: * Missing (or bad) header file: ghc/utils/unlit/fs.h ``` The root cause is that the `./ghc/configure.ac` script is responsible for copying `./ghc/utils/fs/fs.h` to `./ghc/utils/unlit/fs.h`, but the script exits early if a C compiler is not present. This fixes that by ensuring that the C compiler is present on all platforms (not just Darwin), so that the build now works on Linux, too.
2021-12-21haskell.compiler.ghcjs: Don't use upstream `config.sub`Gabriella Gonzalez
Before this change the `ghcjs` build fails with: ``` checking host system type... Invalid configuration `js-ghcjs': machine `js-unknown' not recognized configure: error: …/bin/bash …/configured-ghcjs-src/lib/boot/pkg/unix/config.sub js-ghcjs failed ``` This fails because the `updateAutotoolsGnuConfigScriptsHook` overrides the `config.sub` in the `unix` boot package to use the newer upstream version of `config.sub`, but the newer version is incompatible with the `js-ghcjs` host string used to configure the `unix` package. The fix is to undo the override, because the `config.sub` vendored within `ghc` supports the host string correctly.
2021-11-15haskell.compiler.ghcjs: fix evaluation regressionsternenseemann
The treewide change 8547db919a05c86fe724b972b3130f305d6f4267 was done incorrectly for ghcjs. This hasn't been noticed so far due to a lack of CI.
2021-11-05Merge master into haskell-updatesgithub-actions[bot]
2021-11-03treewide: switch ``builtins.fromJSON(builtins.readFile ./file.json)`` to ↵Sandro Jäckel
lib.importJSON ./file.json
2021-10-23ghcjs: remove duplicate vector patchDaniel Smith
Allows vector to be built with ghcjs
2021-09-26ghcjs: Enable on darwin (#139067)Divam Narula
2021-09-19haskell.compiler.ghcjs: mark hydraPlatforms as none because output is too large(cdep)illabout
2021-09-15ghcjs: init at 8.10.7Divam
The src points to the obsidiansystems repo as it has the ghcjs ported from 8.10.5 to 8.10.7, and a bunch of other fixes (#812, #811, #809)
2019-09-30Drop obsolete ghcjs-8.4.x code.Peter Simons
The 8.4.x version of ghcjs hasn't compiled successfully in ages, so I reckon it's unused. The even older code in pkgs/development/compilers/ghcjs is unused entirely; it's not even referenced in Nixpkgs.
2019-08-28treewide: remove redundant recvolth
2019-06-16treewide: remove unused variables (#63177)volth
* treewide: remove unused variables * making ofborg happy
2018-11-02Drop obsolete GHC versions 7.10.3, 8.0.2, and 8.4.3.Peter Simons
We keep the latest minor release of each one of the last 3 major releases, which currently are GHC versions 8.2.2, 8.4.4, and 8.6.1. We also have ghc-HEAD, but this doesn't count. Dropping these compilers implied that we have to drop the corresponding versions of ghcjs, too. We can also drop a shitload of obsolete compiler patches that newer versions no longer need. At some point, we can probably simplify the generic builder, too.
2018-09-28ghcjs-*: Expose the version of GHC usedJohn Ericson
This is more meaningful than the GHCJS version for most tasks.
2018-09-27ghcjs-{7.10, 8.0}: Make symmetricalJohn Ericson
There's no reason other than misleading branch names to prefer one over another.
2018-07-21pkgs/*: remove unreferenced function argumentsvolth
2018-06-20haskell: make generic builder follow compiler’s shared configMatthew Bauer
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.
2018-06-14ghcjs: add version to haskellCompilerNameMatthew Bauer
This is needed for some cabal2nix stuff in getting the version. Previously we had left out the version but apparently this can cause problems in some scenarios. /cc @elvishjerricco @peti @ericson2314
2018-04-06Merge pull request #38288 from ElvishJerricco/elvishjerricco-ghcjs-maintainerPeter Simons
Added ElvishJerricco to GHCJS maintainers
2018-04-03Merge pull request #38314 from ElvishJerricco/fix-ghcjs-7.10Peter Simons
Fix GHCJS 7.10
2018-04-02GHCJS: Fix GHCJS with haddock-library-1.4.3Will Fancher
2018-04-01Fix GHCJS 7.10Will Fancher
2018-04-01Added ElvishJerricco to GHCJS maintainersWill Fancher
2018-03-29ghcjs: mark HEAD version as brokenPeter Simons
2018-03-05ghcjs: mark build brokenPeter Simons
2018-01-20Fixed GHCJSWill Fancher
2018-01-08fix typoJude Taylor
2018-01-08let ghcjs packages compile with new cross-compilingJude Taylor
2017-12-05Revert "Revive multiple outputs for Haskell packages."Peter Simons
2017-11-27Revert "Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out""Nicholas Clarke
This reverts commit 89f5d52cf44baec14a7f542a605243777b16e7a5.
2017-11-10Change many homepage urls from http to https #30636Pascal Wittmann
2017-11-01fix ghcjs socket.ioJude Taylor
2017-10-21ghcjs: Do not mark as brokenMoritz Kiefer
This has been fixed in #30214
2017-10-17Merge pull request #30214 from cocreature/ghcjsPeter Simons
ghcjs/ghcjsHEAD: Use separate patch files to fix build of ghcjs
2017-10-09ghcjs: mark build as brokenPeter Simons
2017-10-08ghcjs/ghcjsHEAD: Use separate patch files to fix build of ghcjsMoritz Kiefer
2017-09-23ghcjsHEAD: Bump ghcjs and ghcjs-boot revisionsMoritz Kiefer
head_stage2.nix has been regenerated to reflect changes in ghcjs
2017-09-20ghcjsHEAD: bump ghcjs shimsMoritz Kiefer
2017-09-06Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out"Peter Simons
This reverts commit dfb0f254844150d05d34150a975e6479b883d409, reversing changes made to 7f8ff024372f985e96b438fa5591d9b43fc6e7bd. These changes broke the ghcWithPackages wrapper: nix-shell -p "haskellPackages.ghcWithPackages (ps: [ps.mtl])" --run "ghc-pkg list mtl" /nix/store/szz84j5k1dy3jdashis6ws28d8l8zxxb-ghc-8.0.2-with-packages/lib/ghc-8.0.2/package.conf.d (no packages)