Commit graph

55 commits

Author SHA1 Message Date
Pavol Rusnak 29bb19258a
treewide: use https for github URIs 2021-04-17 17:59:08 +02:00
Ryan Burns 89850d10e0 ghcjs: fix eval
This was causing release-cross to fail hydra eval, so it hasn't been
building for the last few days. So note that although ghcjs still
does not build, this fixes eval so the jobset can proceed.

Verified with `hydra-eval-jobs pkgs/top-level/release-cross.nix -I nixpkgs=.`
2021-01-26 19:58:53 -08:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Peter Simons e0073ccae7 ghcjs: mark build broken 2020-11-06 21:38:28 +01:00
Dhruv Dang a6ac08e37c remove unnecessary imports in ghcjs-ng/8.6/dep-overrides.nix 2020-08-24 10:41:11 -07:00
Dhruv Dang 3369b35031 #84563 #95931 fix ghcjs 8.6 so it builds 2020-08-24 10:35:39 -07:00
Peter Simons e037eb4046 ghcjs: mark build as broken
ghcjs hasn't compiled for several weeks.
2020-05-15 21:19:10 +02:00
John Ericson a8bd27b454 Merge branch 'ghcjs-cross-without-cc-common' into ghcjs-cross-without-cc 2019-12-25 01:31:35 -05:00
John Ericson c3c245dcda ghcjs: get socket.io from pkgsHostHost
This is a bit dubvious, but the alternative of making nodejs a
nativeBuildInput for node packages is worse. In general the cross story
for interpreted languages is murky, and this fits that pattern.
2019-12-24 19:52:36 -05:00
John Ericson 1a388b8bff
Merge pull request #74087 from Ericson2314/ghcjs-fix-deps
ghcjs-ng: The GHC source should be configured with native build inputs
2019-11-24 18:11:51 -05:00
John Ericson 5858d7229a ghcjs-ng: The GHC source should be configured with native build inputs
This matters once we start treating GHCJS as cross compilation, as we
should be.
2019-11-24 23:08:47 +00:00
Domen Kožar cb4332e3eb
Merge pull request #69886 from NixOS/haskell-updates
Haskell updates
2019-10-02 15:51:55 +02: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
Travis Whitaker 5641dedb3a GHCJS: Build on Hydra 2019-09-25 17:03:40 -07:00
Travis Whitaker 348656cea8 haskell.compiler.ghcjs86: Bump ghc-8.6 branch, fix build. 2019-09-22 13:43:08 +02:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Vaibhav Sagar e4975aac68 ghcjs-ng: unbreak 2019-03-23 22:47:06 -04:00
Peter Simons c3f38ddd8b ghcjs: disable Hydra builds while the build is marked as broken 2019-02-24 10:14:29 +01:00
Peter Simons 6f5d2f4611 ghcjs: mark build as broken
Build errors are at:

 - https://hydra.nixos.org/build/89288500
 - https://hydra.nixos.org/build/89286604
2019-02-22 10:35:00 +01:00
Will Fancher 0969e91389 Remove GHCJS 8.2 2019-01-30 04:45:41 -05:00
Will Fancher 96360a3a49 GHCJS: Add elvishjerricco as maintainer 2019-01-30 03:24:15 -05:00
Will Fancher 57cb854e42 GHCJS: Add 8.6 2019-01-30 03:22:59 -05:00
Will Fancher 27a48b714d GHCJS: Fix 8.4 build 2019-01-30 03:22:58 -05:00
Peter Simons 3b1158c8dd ghcjs: mark compiler builds as broken
These builds have been failing for a long time ...
2019-01-29 20:19:54 +01:00
Will Fancher 27b752347c Bump GHCJS 8.4 2018-11-21 08:04:05 -05: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 e6a476c862 ghc, ghcjs: Get rid of extraneous alex, happy, and hscolour args
The compilers themselves can pull them from `bootPkgs`, where they
should always come from anyways. This enforces that, simplifies that
code, and allows use to avoid more `rec { ... }` too.
2018-09-24 20:00:39 -04:00
John Ericson 2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Fancher 79362be283 Update readme with --compiler option for GHCJS 2018-07-16 01:14:55 -04:00
Will Fancher ff83aca511 Added ghcjs-base to GHCJS 8.4 / 8.2 2018-07-15 23:47:47 -04:00
Will Fancher 682ef85c6f Make GHCJS 8.4 the default, in line with LTS 12.x 2018-07-15 22:27:42 -04:00
Matthew Bauer e01db49bfa ghcjs-ng: Move to $out/lib/ghcjs-8.4
This is standard for ghc compilers & much more convenient. This seems
to fix the issues we have been having in ghcjs pkgs.

Fixes #42032
Fixes #42617
2018-06-26 17:43:58 -04: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 Justin Bauer 30913cc998
ghcjs: remove phases
We can just disable each one we don't want manually.
2018-06-18 15:44:23 -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
Matthew Justin Bauer 45c70e496f
ghcjs-ng: add haskellCompilerName attribute
This is needed by some old code in Nixpkgs. Adding it here will fix some eval errors.

/cc @ElvishJerricco

Fixes #41943
2018-06-13 16:34:50 -04:00
Matthew Justin Bauer 1aaab72291
ghcjs-ng: fixup system tuple
on i686-linux, the libexec dir should be /libexec/i386-linux-ghc-8.2.2 not /libexec/i686-linux-ghc-8.2.2
2018-06-09 19:45:46 -04:00
Will Fancher ea52ca64e8 Fix GHCJS 8.4/8.2 in sandboxed builds (#41411) 2018-06-03 23:28:17 +02:00
Will Fancher 7a23f1acca GHCJS darwin fixes (#41120)
* GHCJS darwin fixes

* Fix ghcjs 80 and 710 packages

* Add socket-io to ghcjs 82 and 84 passthru
2018-05-29 23:39:21 +02:00
Will Fancher 2dd3789d47 Bump GHCJS 8.4 2018-05-17 05:35:07 -04:00
Will Fancher 4eb49533cb Work around GHCJS bug with ghcjs-boot -j1 2018-05-17 05:27:38 -04:00
Will Fancher 7b405d3564 Remove -dcore-lint from GHCJS wrapper 2018-05-17 05:27:19 -04:00
Will Fancher 9c6e63ffda Expose bootGhcjs for convenience's sake 2018-05-17 05:27:03 -04:00
Will Fancher 2f6c9947fe Add pkgconfig to ghcjs boot 2018-05-17 05:26:48 -04:00
Will Fancher 2a32834ad9 Factor out bootGhcjs for justStaticExecutables sake 2018-05-16 03:11:33 -04:00