Commit Graph

2524 Commits

Author SHA1 Message Date
Mateusz Kowalczyk
28f5c9536d Merge pull request #7044 from joachifm/delete-qi-compiler
Delete expression for the Qi compiler
2015-03-28 15:23:52 +00:00
Joachim Fasting
51bc557070 Delete expression for the Qi compiler
The Qi language project appears to have been abandoned in favour
of Shen. The source listed in the Qi expression is unavailable
(except through an unofficial mirror on Google Code, which is also
going away soon) and the project's website is defunct.
2015-03-28 11:48:13 +01:00
Tomas Hlavaty
a31471876d ensure that gmp and libffi are found when compiling with gcc dynamically 2015-03-28 12:42:23 +03:00
Peter Simons
64a4fab42b ghc: bump version to 7.10.1 release 2015-03-27 15:33:53 +01:00
Michael Raskin
9fc71d3bf6 Add mkcl; patch by Tomas Hlavaty <tom@logand.com> 2015-03-27 08:24:35 +03:00
Herwig Hochleitner
24ddfc7c38 passthru.home in openjdk8, similar to other jdks 2015-03-26 19:06:36 +01:00
Peter Simons
eb4f75a868 ghc: remove obsolete "i686-darwin" from meta.platforms 2015-03-26 11:29:05 +01:00
Peter Simons
6bd48cbfef Enable Darwin builds of Haskell packages again.
Hopefully, issues like https://github.com/NixOS/nixpkgs/issues/2689 are
all remedied by now.
2015-03-26 11:29:05 +01:00
Peter Simons
93bd02a6aa ghc: versions prior to 7.4.x currently don't work on Darwin
db4cb021c0 (commitcomment-10320216)
2015-03-26 11:29:05 +01:00
Spencer Whitt
5284c5684f orc: Enable building on Darwin 2015-03-25 22:13:48 -04:00
Eric Seidel
69d02b71a0 clang: add isClang passthru attribute to mirror isGNU 2015-03-24 20:37:01 -07:00
Shea Levy
6e3c9d5ce4 Fix fallout of recent cc-wrapper changes
Fixes tarball except for 56e21d05e8
2015-03-24 22:13:43 -04:00
Eelco Dolstra
2ed5c2bd6b Set some meta.platforms
Also fix meta.platform -> meta.platforms in a few places.
2015-03-20 20:04:42 +01:00
Shea Levy
19cd9f16a0 Merge branch 'staging' 2015-03-20 09:53:34 -04:00
aszlig
3bb0e6df8a
haxe: Add package for the hxcpp runtime library.
I'm not adding this to pkgs/development/libraries because it somewhat is
strongly tied to Haxe itself, because otherwise you can't compile to C++
and in the event that someone is going to create something like
"haxePackages" someday it is easier to notice when it's residing in the
Haxe folder.

In theory it would also work by using imperative haxelib, but you'll get
precompiled libraries which need to be patched on NixOS systems. That's
the main reason I was packaging this, among from the fact that even when
patching the libraries, it still leads to occasional library hell and
instabilities.

The package has two outputs: One with the library itself, needed for
compile time ($out) and another one ($lib) which is needed at runtime,
so after compiling, the $out path can be safely garbage collected.

Right now, I've set meta.platforms to Linux only, because that's where
I've tested it. In order to get it running on other platforms the
targetArch attribute has to be set accordingly.

We also build everything completely from scratch, even though there are
binaries within the source ZIP file. The main reason is to make smaller
library dependencies by avoiding bundled libraries and using the ones we
already ship with nixpkgs.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-03-20 08:47:11 +01:00
aszlig
d68e9b855c
haxe: Add setup-hook and patch to add haxlib path.
Introduces a new environment variable called HAXELIB_PATH and the patch
for haxelib is trying to search that environment variable for other
libraries. If the haxelib path for a particular library isn't found, it
reverts to the normal behaviour of searching the user's home directory
for a file called .haxelib, which in turn points to a repsitory path and
that in turn has .current/.dev files to point it to the right version
number.

This avoids workarounds like this when using Nix to build Haxe projects:

configurePhase = ''
  export HOME="$(pwd)"
  echo "$(pwd)" > .haxelib

  mkdir dependency1
  echo dev > dependency1/.current
  echo "${dependency1}" > dependency1/.dev

  mkdir dependency2
  echo dev > dependency2/.current
  echo "${dependency2}" > dependency2/.dev
'';

Now every haxelib is expected to be in $out/lib/haxe/$name and whenever
it is listed in buildInputs of another Haxe derivation, HAXELIB_PATH
gets automatically set in the build environment.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-03-20 08:39:21 +01:00
Mateusz Kowalczyk
d56831a9af ghc: update link and version of 7.10 RC3 2015-03-19 12:33:11 +00:00
Austin Seipp
1ef6f44e5d nixpkgs: hhvm 3.3.0 -> 3.6.0
- We need {perl,git,krb5,libvpx,etc} as a dependency
  - Drop upstream patches.
  - Simplify build (uses cmake configuration)
  - Simplify install (uses cmake generated installer)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-03-18 05:11:31 -05:00
Vladimír Čunát
e924f05cc3 Merge branch 'master' into staging 2015-03-17 13:35:05 +01:00
Peter Simons
04611ab692 ghc: update 7.10.1 to rc3 2015-03-17 11:40:51 +01:00
Ricardo M. Correia
01d1ec25f7 rustc: Fix test failure due to hardcoded path to /home 2015-03-16 21:02:35 +01:00
Ricardo M. Correia
5f3a2cb0d1 rustc: Re-enable parallel building 2015-03-16 21:02:35 +01:00
Artyom Shalkhakov
82ee506f43 Bump to ATS-0.2.12 2015-03-16 15:50:48 +01:00
Peter Simons
3f712f8448 ghc-6.10.4: cosmetic clean up 2015-03-15 11:00:11 +01:00
Peter Simons
26223831dc ghc-6.12.3: cosmetic clean up 2015-03-15 11:00:11 +01:00
Shea Levy
e729dfbd3f gcc-4.9: Set isGNU
Fixes #6787
2015-03-13 12:47:17 -04:00
Robin Gloster
282530454a add myself as php and rustc maintainer 2015-03-11 11:24:55 +01:00
Peter Simons
6694ef42a9 Merge branch 'master' into staging.
Conflicts:
      pkgs/development/libraries/gtk+/2.x.nix
      pkgs/tools/security/gnupg/21.nix
      pkgs/top-level/all-packages.nix
2015-03-10 12:09:43 +01:00
Peter Simons
8196130a1d Merge pull request #6711 from phile314/dev
haskell: Add uhc compiler
2015-03-10 11:22:15 +01:00
Philipp Hausmann
2eacaa856b
haskell-uhc: Remove explicit dependency on binary 2015-03-10 00:19:10 +01:00
Arseniy Seroka
b172b9fb37 Merge pull request #6731 from globin/update-rust
Update rust to new nightly (2015-03-09)
2015-03-09 21:59:03 +03:00
Robin Gloster
3a32dae799 update rust to new nightly (2015-03-09) 2015-03-09 18:37:30 +01:00
Peter Simons
e2b033cad9 ghc: re-instate code that configures statically linked builds by default
The compiler should not expect to have dynamic versions of all libraries
available, because that configuration doesn't play along nicely with statically
linked libraries.

Fixes https://github.com/NixOS/nixpkgs/issues/6399.
2015-03-09 15:55:24 +01:00
Eduard Bachmakov
4731485ca2 llvm-3.5: enable RTTI to support mesa
Extracted from #6367.
2015-03-09 15:55:23 +01:00
Philipp Hausmann
1ce75368f1
Add uhc haskell compiler 2015-03-09 13:38:28 +01:00
William A. Kennington III
c9ec23d55c Merge pull request #6673 from taku0/oraclejdk-8u40
oraclejdk: bump to 8u40
2015-03-08 19:16:44 -07:00
William A. Kennington III
2e6e6f9178 Merge pull request #6684 from j-keck/update-scala
update scala to 2.10.5 and 2.11.6
2015-03-08 16:08:40 -07:00
Michael Raskin
a36c914020 update sbcl 2015-03-09 01:03:01 +03:00
Michael Raskin
3d4f7be9a3 Update ECL 2015-03-09 01:03:01 +03:00
Shea Levy
e57e44f867 llvm-3.6 packages: Build everything (except clang and llvm) with clang 2015-03-07 13:08:34 +00:00
Shea Levy
b37fd11351 llvm-3.6 packages: Rearrange directory structure 2015-03-07 12:51:06 +00:00
Shea Levy
3ed077a69b lldb-3.5 is broken, bug in the cmake
lldb-3.6 is working (just waiting on a staging fix to merge), so let's just
mark this broken until we decide to nuke 3.5 all together.

Fixes #6636 refs #6668
2015-03-06 16:16:20 -05:00
Shea Levy
c62b5456f5 Merge branch 'llvm-3.6' of git://github.com/Ralith/nixpkgs into llvm-3.6-merge
LLVM, clang, and lldb 3.6iLLVM, clang, and lldb 3.6

Conflicts:
	pkgs/top-level/all-packages.nix
2015-03-06 19:10:10 +00:00
Shea Levy
6b53021205 Merge branch 'master' into staging 2015-03-06 19:02:36 +00:00
Shea Levy
55cf015142 clang-3.6: provide path to gcc on Linux
gcc contains core runtime bits that aren't available elsewhere for Linux.

Refs #6449
2015-03-06 13:49:49 +00:00
Shea Levy
494ae5fbeb clang: provide path to gcc on Linux
gcc contains core runtime bits that aren't available elsewhere for Linux.

Fixes #6449 refs #6668
2015-03-06 08:36:42 -05:00
Shea Levy
c08a0d240c ats2: bump 2015-03-05 18:21:56 -05:00
j-keck
7da51f9eb7 scala: update to 2.11.6 2015-03-05 20:49:28 +01:00
j-keck
a1a585078a scala_2_10: update to 2.10.5 2015-03-05 20:49:28 +01:00
Moritz Kiefer
4f3f301807 openjdk8: update to jdk8u40-b25 2015-03-05 18:04:21 +01:00
taku0
137f281849 oraclejdk: bump to 8u40 2015-03-05 23:01:21 +09:00
Peter Simons
1d953779b0 Merge remote-tracking branch 'origin/master' into staging. 2015-03-05 12:24:57 +01:00
Benjamin Saunders
f1b7e4d127 LLVM, clang, and lldb 3.6 2015-03-05 06:44:09 +01:00
Eelco Dolstra
6f33aa8465 orig-gcc -> orig-cc 2015-03-04 22:15:46 +01:00
Eelco Dolstra
97fcb33ac2 cudatoolkit: Fix gcc -> cc
Urgh, we shouldn't have renamed gcc to cc...
2015-03-04 22:15:46 +01:00
William Roe
7dcde14809 go: Update to version 1.4.2 2015-03-04 11:55:47 +00:00
Peter Simons
38c67a358e yap: mark 32 bit Linux build broken 2015-03-04 11:14:58 +01:00
Dan Peebles
57250fc2cc Enable cgo on darwin 2015-03-03 20:03:48 -05:00
William A. Kennington III
adbba6eded Merge pull request #6528 from codyopel/stdenv-fixes
remove stdenv.isBSD
2015-03-02 20:10:07 -08:00
Bjørn Forsman
c47a3b0663 microscheme: update to latest release (0.9.2)
* Don't "externalize url/rev/sha256 to permit easier override".
  Just override 'src' itself. Then you can get the source from anywhere,
  not just git. I needed to touch this anyway, because I want to use
  fetchzip instead of fetchgit for releases (no need to clone repo).
* Latest release has "make install" improvements, simplifying our
  install.
2015-03-02 21:55:55 +01:00
Georges Dubus
9e59c9ad84 Merge pull request #6623 from woehr/master
Upgrade Rust compiler
2015-03-02 21:38:29 +01:00
Peter Simons
5341196f01 Merge branch 'master' into staging. 2015-03-02 21:10:36 +01:00
Jordan Woehr
5821e91bd1 Restructure rustc derivations for ease of updating.
Update racerRust to use new rustcMaster and upgrade cargoSnapshot so racer builds.
2015-03-02 12:40:55 -07:00
Eelco Dolstra
ea0d6a7fc0 Add CUDA toolkit 6.5 2015-03-02 00:24:00 +01:00
Pascal Wittmann
92664a84ad nasm: update from from 2.11.05 to 2.11.08
2.11.06 had a bug that broke syslinux [1], this bug was
fixed in 2.11.07, but there was never a tar-ball release
of that version.

[1] http://sourceforge.net/p/nasm/mailman/message/33074214/
2015-02-26 14:43:44 +01:00
Peter Simons
d6c295e469 Merge remote-tracking branch 'origin/master' into staging. 2015-02-25 20:18:28 +01:00
codyopel
e29b0da9c7 remove stdenv.isBSD 2015-02-24 22:15:51 -05:00
Aistis Raulinaitis
9adb387327 Ur/Web version bump 2015-02-23 02:40:27 -08:00
vbgl
6668a05abc Merge pull request #6521 from lostdj/ltp/upstream-master/emscripten1.29.10
emscripten: update from 1.29.3 to 1.29.10.
2015-02-23 11:03:54 +01:00
Vladimír Čunát
bc51573f8a dragonegg-3.5: fix by dropping included patch
It seems to compile a hello-world fine.
2015-02-23 09:37:07 +01:00
Peter Simons
b8bf8e502c ghc: re-instate code that configures statically linked builds by default
The compiler should not expect to have dynamic versions of all libraries
available, because that configuration doesn't play along nicely with statically
linked libraries.

Fixes https://github.com/NixOS/nixpkgs/issues/6399.
2015-02-22 21:55:27 +01:00
Eduard Bachmakov
c0def4a169 llvm-3.5: enable RTTI to support mesa
Extracted from #6367.
2015-02-22 20:03:14 +01:00
lostdj
bca50ddb7d emscripten: update from 1.29.3 to 1.29.10. 2015-02-22 21:35:38 +03:00
Ben Darwin
63d61cee7f teyjus: 2.0-b2 2015-02-21 19:55:24 -05:00
Luca Bruno
3391728c63 dragonegg: fix sha256 2015-02-20 14:51:24 +01:00
Jim Garrison
66097d8f4f julia: 0.3.5 -> 0.3.6 2015-02-19 00:07:20 -08:00
Dan Peebles
c6ce6460c4 Rearrange llvm dependencies slightly to avoid unnecessary dependencies on darwin (binutils is only used for gold integration, which doesn't apply on darwin) 2015-02-18 02:05:56 -05:00
Dan Peebles
3a423e4405 It doesn't appear to be necessary to force the libc++abi rpath in libc++, and removing it helps disentangle the upcoming darwin stdenv from its bootstrap tools 2015-02-17 22:39:31 -05:00
Shea Levy
2f061ff16b Merge remote-tracking branch 'origin/staging'
Darwin and haskell fixes.
2015-02-17 13:52:37 -05:00
Joel Taylor
4b6d83199a Fix temp directory paths for GHC 7.0.4 on Darwin
This is a remnant of https://github.com/NixOS/nixpkgs/pull/6268
2015-02-16 23:42:59 -08:00
Antoine R. Dumont
172d78923b Add microscheme derivation
(A Scheme subset for Atmel microcontrollers.)

Use of the actual git HEAD because the actual tarball compiles but
segfault at runtime.

Upload the BLINK.ms sample on arduino board (/dev/ttyACM0):

```sh
$ sudo ./result/bin/microscheme -m UNO -d /dev/ttyACM0 -auc ~/repo/perso/microscheme/examples/BLINK.ms
Microscheme 0.8, (C) Ryan Suchocki
>> Treeshaker: After 4 rounds: 84 globals purged! 22 bytes will be
reserved.
>> 18 lines compiled OK
>> Assembling...
>> Uploading...

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100%
0.00s

avrdude: Device signature = 0x1e950f
avrdude: reading input file
"/home/tony/repo/perso/microscheme/examples/BLINK.hex"
avrdude: writing flash (2080 bytes):

Writing | ################################################## | 100%
0.35s

avrdude: 2080 bytes of flash written

avrdude: safemode: Fuses OK (E:00, H:00, L:00)

avrdude done.  Thank you.

>> Cleaning Up...
>> Finished.
```
2015-02-16 23:09:48 +01:00
Eelco Dolstra
2ba9ae0129 Fix bad licenses on CUDA packages
They were marked as "nonfree" rather than "unfree", causing them to be
allowed with allowUnfree = false.
2015-02-15 22:29:47 +01:00
Peter Simons
155e926274 ghc: disable parallel building for older versions again
This change accidentally crept in with the recent Darwin changes.
2015-02-14 19:41:49 +01:00
Joel Taylor
fd18936a32 Add purity to GHC builds on Darwin 2015-02-14 19:41:49 +01:00
Peter Simons
600135bba5 Merge remote-tracking branch 'master' into staging. 2015-02-13 22:17:12 +01:00
Peter Simons
54ce1a1810 Merge remote-tracking branch 'origin/master' into staging.
Conflicts:
      pkgs/development/compilers/ghc/head.nix
      pkgs/top-level/haskell-ng.nix
2015-02-13 22:13:25 +01:00
Joel Taylor
2a5dacbf6b patch shebangs in boot script 2015-02-13 10:37:47 +01:00
Joel Taylor
dcafdf47ea Revert "Revert "Build GHC HEAD from git checkout"."
This reverts commit 15416dd2ec.
2015-02-13 10:37:47 +01:00
John Wiegley
68c6ca44e6 sbcl_1_2_0: port over joelteon's change to 1.2.8 2015-02-12 15:05:37 -06:00
John Wiegley
1dea4e5297 Merge pull request #6321 from joelteon/sbcl
Linker flags for sbcl on Darwin
2015-02-12 15:54:05 -05:00
Joel Taylor
b43fc565f1 linker flags for sbcl 2015-02-12 12:14:35 -08:00
Vladimír Čunát
8afa77cb07 vala-0.26: minor update to fix CVE-2014-8154
@lethalman: it seems strange to me to have the 0.23.* version as
the default, as it's even an unstable release.
2015-02-12 20:43:55 +01:00
Peter Simons
15416dd2ec Revert "Build GHC HEAD from git checkout".
This reverts commit 52c8d7c4ab. The new
expression doesn't compile: http://hydra.nixos.org/build/19594431/nixlog/1/raw.
2015-02-12 20:15:56 +01:00
Shea Levy
127efcd6f6 Merge branch 'kill-libiconv' of git://github.com/gridaphobe/nixpkgs into staging
Took "ours" for the conflict and changed libiconvOrEmpty to libiconv

Conflicts:
	pkgs/applications/audio/ncmpcpp/default.nix
2015-02-11 19:37:22 -05:00
Joel Taylor
52c8d7c4ab Build GHC HEAD from git checkout 2015-02-11 14:32:54 -08:00
Joel Taylor
db4cb021c0 Add purity to GHC builds on Darwin. 2015-02-10 22:08:01 +01:00
lethalman
e7762c55bb Merge pull request #6281 from ehmry/nim
nim: initial package at 0.10.2
2015-02-10 16:08:07 +01:00
Emery Hemingway
e65e8983d9 nim: initial package at 0.10.2 2015-02-10 09:48:41 -05:00
Luca Bruno
10e7572d17 Use go1.4 instead of go-1.4 in derivation names. Closes #6243
I chose meta.branch because go 1.1 and 1.2 had this already.
2015-02-09 10:16:14 +01:00
Dan Peebles
da8ab2d947 Get mlton a little closer to working on darwin+clang (thanks to gridaphobe). Still impure, and needs more work. 2015-02-08 19:24:44 -05:00