Commit graph

7 commits

Author SHA1 Message Date
sternenseemann fde2e98a01 haskell.compiler.ghcjs: fix build with aeson 2.0 2022-04-11 01:26:04 +02:00
Gabriella Gonzalez 69125bc160 haskell.compiler.ghcjs: Don't use upstream config.sub
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-12-21 21:22:58 -08:00
sternenseemann e8f9f6efb6 haskell.compiler.ghcjs: fix evaluation regression
The treewide change 8547db919a was done
incorrectly for ghcjs. This hasn't been noticed so far due to a lack of
CI.
2021-11-15 21:03:33 +01:00
Sandro Jäckel 8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Divam Narula d032f60c37
ghcjs: Enable on darwin (#139067) 2021-09-26 00:51:46 -04:00
(cdep)illabout 3389aab889
haskell.compiler.ghcjs: mark hydraPlatforms as none because output is too large 2021-09-19 09:32:17 +09:00
Divam ba25b274f4 ghcjs: init at 8.10.7
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)
2021-09-15 12:51:34 +09:00