Age | Commit message (Collapse) | Author |
|
Unfortunately the outdated version of optparse-applicative we need to
use hasn't survived the ansi-wl-pprint deprecation…
|
|
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.
|
|
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.
|
|
ghcjs's dependency optparse-applicative 0.15.1.0 restricts
transformers-compat to < 0.7 which is unnecessary.
|
|
webdriver-0.10.0.0 incorporated the changes we are interested.
|
|
the new upstream release makes it build with aeson-2.0.
|
|
|
|
|
|
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/
|
|
|
|
haskell.compiler.ghcjs: Don't use upstream `config.sub`
|
|
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.
|
|
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.
|
|
The treewide change 8547db919a05c86fe724b972b3130f305d6f4267 was done
incorrectly for ghcjs. This hasn't been noticed so far due to a lack of
CI.
|
|
|
|
lib.importJSON ./file.json
|
|
Allows vector to be built with ghcjs
|
|
|
|
|
|
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)
|
|
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.
|
|
|
|
* treewide: remove unused variables
* making ofborg happy
|
|
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.
|
|
This is more meaningful than the GHCJS version for most tasks.
|
|
There's no reason other than misleading branch names to prefer one over
another.
|
|
|
|
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.
|
|
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
|
|
Added ElvishJerricco to GHCJS maintainers
|
|
Fix GHCJS 7.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 89f5d52cf44baec14a7f542a605243777b16e7a5.
|
|
|
|
|
|
This has been fixed in #30214
|
|
ghcjs/ghcjsHEAD: Use separate patch files to fix build of ghcjs
|
|
|
|
|
|
head_stage2.nix has been regenerated to reflect changes in ghcjs
|
|
|
|
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)
|