3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

130 commits

Author SHA1 Message Date
Ben Siraphob 0f050a1236
treewide: replace http://github.com with https://github.com 2022-01-07 09:58:36 +07:00
John Ericson 96a0040313
Merge pull request #151689 from Gabriel439/gabriella/fix_ghcjs_config.sub
haskell.compiler.ghcjs: Don't use upstream `config.sub`
2021-12-22 12:02:13 -05:00
Gabriella Gonzalez 0796ca8425
haskell.compiler.ghcjs: Fix Linux build (#151699)
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-22 08:43:38 -08: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
github-actions[bot] ab4eda8513
Merge master into haskell-updates 2021-11-05 00:07:13 +00: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
Daniel Smith 742d75c5bc ghcjs: remove duplicate vector patch
Allows vector to be built with ghcjs
2021-10-23 15:51:56 -07: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
Peter Simons 6966609104 Drop obsolete ghcjs-8.4.x code.
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-09-30 12:48:24 +02:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Peter Simons 2f0de54ddb Drop obsolete GHC versions 7.10.3, 8.0.2, and 8.4.3.
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-11-02 20:13:55 +01:00
John Ericson d892f1aa90 ghcjs-*: Expose the version of GHC used
This is more meaningful than the GHCJS version for most tasks.
2018-09-28 12:06:31 -04:00
John Ericson 94d12f3e7c ghcjs-{7.10, 8.0}: Make symmetrical
There's no reason other than misleading branch names to prefer one over
another.
2018-09-27 18:37:10 -04:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Bauer fd7a6ea0af haskell: make generic builder follow compiler’s shared config
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-20 18:40:53 -04:00
Matthew Bauer a9400e64e7 ghcjs: add version to haskellCompilerName
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-06-14 11:38:13 -04:00
Peter Simons 935526e181
Merge pull request #38288 from ElvishJerricco/elvishjerricco-ghcjs-maintainer
Added ElvishJerricco to GHCJS maintainers
2018-04-06 10:54:57 +02:00
Peter Simons 97e891aee0
Merge pull request #38314 from ElvishJerricco/fix-ghcjs-7.10
Fix GHCJS 7.10
2018-04-03 18:15:44 +02:00
Will Fancher 5da837ad9c GHCJS: Fix GHCJS with haddock-library-1.4.3 2018-04-02 00:23:32 -04:00
Will Fancher 774253e56b Fix GHCJS 7.10 2018-04-01 23:25:37 -04:00
Will Fancher c6a9e3a911 Added ElvishJerricco to GHCJS maintainers 2018-04-01 03:58:45 -04:00
Peter Simons 0e82924474 ghcjs: mark HEAD version as broken 2018-03-29 20:46:31 +02:00
Peter Simons 3d8694ee2d ghcjs: mark build broken 2018-03-05 16:44:23 +01:00
Will Fancher fcc8cae88d Fixed GHCJS 2018-01-20 15:47:59 -05:00
Jude Taylor d2734eead9 fix typo 2018-01-08 10:31:12 -08:00
Jude Taylor a19e258707 let ghcjs packages compile with new cross-compiling 2018-01-08 10:30:15 -08:00
Peter Simons 8d8061ec20
Revert "Revive multiple outputs for Haskell packages." 2017-12-05 09:36:08 +01:00
Nicholas Clarke d90165c7db Revert "Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out""
This reverts commit 89f5d52cf4.
2017-11-27 16:05:22 +00:00
Pascal Wittmann 24e87b49b6
Change many homepage urls from http to https #30636 2017-11-10 22:13:46 +01:00
Jude Taylor 737b466031 fix ghcjs socket.io 2017-11-01 12:16:48 +01:00
Moritz Kiefer d222538732 ghcjs: Do not mark as broken
This has been fixed in #30214
2017-10-21 13:27:42 +01:00
Peter Simons f9090c3332 Merge pull request #30214 from cocreature/ghcjs
ghcjs/ghcjsHEAD: Use separate patch files to fix build of ghcjs
2017-10-17 10:44:37 +01:00
Peter Simons 6a84b39950 ghcjs: mark build as broken 2017-10-09 17:25:57 +02:00
Moritz Kiefer 78aa7f2338 ghcjs/ghcjsHEAD: Use separate patch files to fix build of ghcjs 2017-10-08 11:26:25 +02:00
Moritz Kiefer 582c7d24fc ghcjsHEAD: Bump ghcjs and ghcjs-boot revisions
head_stage2.nix has been regenerated to reflect changes in ghcjs
2017-09-23 18:56:54 +02:00
Moritz Kiefer d5a33e8f38 ghcjsHEAD: bump ghcjs shims 2017-09-20 10:59:22 +02:00
Peter Simons 89f5d52cf4 Revert "Merge pull request #27209 from nc6/nc/haskell-multiple-out"
This reverts commit dfb0f25484, reversing
changes made to 7f8ff02437. 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)
2017-09-06 10:19:18 +02:00
Nicholas Clarke 8c642d5937 Provide hscolour, happy, alex bin to buildInputs.
Use stdenv.lib.getBin instead of `.bin`
2017-09-04 12:35:57 +01:00
Moritz Kiefer 03b4cab963 haskell: fix ghcjs build with cabal-install-2.0 2017-08-11 22:14:01 +02:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Renzo Carbonara d0c68a1658 ghcjsHEAD: bump git revision
This particular revision brings significant performance improvements
when building code that uses TemplateHaskell.
2017-06-05 20:01:26 +02:00
Peter Simons a1b6c5f5d6 Revert "Use consistent package naming for HEAD.nix files" for GHC and GHCjs.
This reverts commit 31b0e34d1d. The version
numbers used in that commit were no improvement.
2017-05-09 17:59:28 +02:00
Arseniy Seroka 87e7faa937 Merge pull request #25631 from rht/master
Use consistent package naming for HEAD.nix files
2017-05-09 11:27:03 +03:00
David Johnson a5df611d91 ghcjs: mark as fixed 2017-05-08 22:32:08 -07:00
rht 31b0e34d1d
Use consistent package naming for HEAD.nix files 2017-05-09 10:31:15 +07:00
Aristid Breitkreuz a0eabfbcbd Merge pull request #24715 from ljli/ghcjs-dep-cycle
haskell: ghcjs packages: Break dependency cycle less invasive
2017-04-08 12:25:54 +02:00