Commit Graph

1303 Commits

Author SHA1 Message Date
Andres Loeh
d068aa9861 Patch ghc-paths to interact better with ghcWithPackages.
When the ghc-paths library is compiled, the paths of the
compiler it is compiled with are being hardcoded in the
library (and can then be queried from other applications
using the library).

But on Nix, packages are compiled with ghc-wrapper, and
subsequently possibly used with a special version of ghc
generated for a particular environment of packages. So
one version of ghc-paths may potentially end up being
used by lots of different instances of ghc. The hardcoding
approach fails.

As a work-around, we now patch ghc-paths so that it allows
setting the paths that can be queried via environment
variables. Specific GHC environments can then set these
environment variables in the wrapper shell script that
invokes GHC.

This should at least partially solve issue #213.
2012-12-16 14:25:15 +01:00
Michael Raskin
215c5f0ff8 EQL: update to latest snapshot 2012-12-13 15:53:24 +04:00
Michael Raskin
f0997b9737 ECL: update to 12.12.1 2012-12-13 10:07:18 +04:00
Michael Raskin
28d178521d Fix installation of Tk wrapper 2012-12-09 20:06:34 +04:00
Michael Raskin
47f0815655 Julia update; use Tcl/Tk 2012-12-09 11:30:44 +04:00
Michael Raskin
2ace67c2bc Update SBCL to 1.1.2 2012-12-04 09:57:38 +04:00
Eelco Dolstra
bce3c6db7e openjdk: Fix typo in the version 2012-11-29 16:32:37 +01:00
Eelco Dolstra
72684fb42f Remove support for the obsolete powerpc-darwin and i686-darwin platforms 2012-11-29 14:10:49 +01:00
Eelco Dolstra
5553546c21 Remove a bunch of unreferenced files
Plus a small number of obsolete packages (like old versions of qemu).
2012-11-29 13:43:37 +01:00
Ludovic Courtès
1ac274784b gcc 4.7: don't pass `--with-native-system-header-dir' when cross-compiling 2012-11-29 10:58:41 +01:00
Ludovic Courtès
cd30b83fd8 gcc 4.7: when cross-building for GNU, patch gnu.h', not i386/gnu.h' 2012-11-29 10:58:41 +01:00
Ludovic Courtès
2aea62bd07 gcc 4.7: when cross-building for GNU, patch gnu-user.h', not gnu.h' 2012-11-29 10:07:21 +01:00
Michael Raskin
19b638f5c7 Update Julia / account for it now using patchelf 2012-11-28 16:19:26 +04:00
Michael Raskin
e72e74dad8 Update Julia to correspond to their changes 2012-11-22 17:30:33 +04:00
Rob Vermaas
ad928fee30 Update Oracle JDK to 1.6.0u38b04 2012-11-21 21:31:56 +01:00
Ludovic Courtès
eb08033e06 gcc 4.7: remove attempt to modify non-existent file 2012-11-17 20:54:29 +01:00
Ludovic Courtès
ebe07c644f gcc 4.7: remove now useless GNU/Hurd-related patch 2012-11-15 09:03:43 +01:00
Lluís Batlle i Rossell
77e983a7d4 ghdl: building the standard libs with -O2
That leads to faster simulations.
2012-11-13 15:16:32 +01:00
Peter Simons
fb1b425a74 Agda-executable: jailbreak to fix the build with recent versions of Agda 2012-11-12 12:48:27 +01:00
Shea Levy
e8cd81a055 openjdk: Install the unlimited crypto policy 2012-11-08 14:51:23 -05:00
Andres Loeh
8c4f5d02aa Updating ghc HEAD snapshot. 2012-11-07 14:45:32 +01:00
Michael Raskin
67bde8453f Update Julia and compensat for their specification of /bin/bash as SHELL 2012-11-06 22:35:51 +04:00
Michael Raskin
af2fd342cd Updating SBCL to freshest release 1.1.1.
Replacing SBCL upstream tracking expression with a new version in a new
format.

Minuses: gave up on defining everything in Nix language (now update
expression is a series of actions to do when downloading fresh release,
it is actually interpreted by shell), now Nix expression contains
meaningful whitespace (the area to regenerate is determined by the
line with a specific comment and the closing brace on the otherwise
empty line).

Plusses: only one extra file which could even be moved out-of-tree if
desired, clean semantics for traversing multiple links (it is not found
in either Debian uscan or Gentoo euscan), the main expression is in one
file and is less different from usual style.
2012-11-04 23:52:19 +04:00
Peter Simons
9d4aa6a6be haskell-idris: update to version 0.9.5.1 2012-11-01 10:09:22 +01:00
Michael Raskin
5e071cd74d OK, this version definitely builds both ways 2012-10-26 13:19:54 +04:00
Michael Raskin
e7493370bd Account for difference between JRE and JDK in build 2012-10-26 12:11:00 +04:00
Michael Raskin
e862c150f0 Trying to fix OpenJDK build 2012-10-26 11:06:25 +04:00
Shea Levy
a234280340 openjdk: Create a cacerts file from pkgs.cacerts 2012-10-25 23:33:09 -04:00
Michael Raskin
b2d0900e6e Update SBCL to 1.1.0 2012-10-24 23:09:29 +04:00
Peter Simons
59d7e94145 gprolog: disable parallel building to (hopefully) fix the weird error that occurred on Hydra 2012-10-24 20:30:04 +02:00
Peter Simons
b170bb0bf0 gprolog: update to version 1.4.1 2012-10-24 18:28:36 +02:00
Michael Raskin
cdb8f0dfe4 Update Lazarus 2012-10-17 22:24:39 +04:00
Michael Raskin
df2975f928 Update ECL to 12.7.1 2012-10-17 15:22:43 +04:00
Michael Raskin
3f0c47091c Update Clozure Common Lisp to version 1.8 2012-10-17 11:09:44 +04:00
Peter Simons
b1169e5509 ghc-*-binary: remove redundant assertion
Any attempt to instantiate these expressions on an unsupported platform is
going to 'throw' an error. The call to 'assert' doesn't add any value to
that (and generates less readable error messages, too). Further details are
available at <https://github.com/NixOS/nix/issues/56>.
2012-10-12 15:23:05 +02:00
Michael Raskin
4f8becaaa3 Merge pull request #139 from aforemny/jhc
Add jhc 0.8.0
2012-10-10 22:12:27 -07:00
Marco Maggesi
e32567bcf7 OCaml 4.00.1 2012-10-09 14:03:12 -04:00
Shea Levy
5150b55bf2 openjdk: Add lib{fontconfig,Xcursor,Xinerama} to rpaths. 2012-10-09 11:11:19 -04:00
Lluís Batlle i Rossell
85398493bf go: updating to 1.0.3 2012-10-09 17:02:11 +02:00
Peter Simons
0f54bd6130 haskell-idris: update to version 0.9.4.1 2012-10-08 11:25:23 +02:00
Shea Levy
4f178d1698 clang: Bump to 3.1 2012-10-08 01:57:39 -04:00
Shea Levy
5a6fd3d510 llvm: Bump to 3.1 2012-10-07 23:25:11 -04:00
aszlig
c6c7019091
haxe: Remove build files of haxelib/haxedoc early.
Previously, we installed std by omitting the tools directory. Now, there are
occasions where you actually want to use things like tools.haxelib from within
your project, for example to create something that interfaces with the haxelib
API. So we now just remove all files in there that were created during the main
build in postBuild.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-10-08 02:26:09 +02:00
Shea Levy
2f8ab5e651 Merge branch 'refind' into upstream 2012-10-07 17:54:30 -04:00
aszlig
c585be8619
neko: Correctly set 64bit mode in build.
Neko seems to think it is running in 32bit, even though it is compiled for
64bit. The fix is included in 1.8.3, which is not yet released as of now, so we
add a temporary fix until the release.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-10-07 23:13:56 +02:00
Alexander Foremny
471ceb6dbb Merge remote-tracking branch 'upstream/master' into jhc 2012-10-07 17:58:43 +02:00
Alexander Foremny
f2e82a385e Add jhc 0.8.0 2012-10-07 17:52:43 +02:00
aszlig
064cf68281
haxe: Rewrite package from scratch, version 2.10.
As well as for neko, we now have way less cruft within the mkDerivation
attribute set. We also now use make to build haxe, which will include haxelib
and haxedoc as well.

The main reason why I was doing this was because the package didn't build and
still was referencing mawercer.de, which does not contain those tarballs
anymore.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-10-07 11:41:59 +02:00
aszlig
e5239b78bd
neko: Rewrite package from scratch, version 1.8.2.
This should simplify the input of the derivation builder significantly and of
course we don't need to rely on mawercer.de to supply the needed files. Also,
the derivation name doesn't include "-cvs" anymore, as we're building from the
release tarball.

In addition, we don't need the patch anymore, as it was so simple that it could
be done easily with sed.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-10-07 11:41:19 +02:00
Shea Levy
af045b4ee1 edk2: Bump version 2012-10-04 20:11:47 -04:00