Commit Graph

40009 Commits

Author SHA1 Message Date
Eelco Dolstra
3e33c975fb stdenv: Make unpackFile extensible via the hook mechanism
unpackCmd is now a regular hook, so there can be multiple functions
hooking into it.
2014-08-09 12:44:49 +02:00
Eelco Dolstra
1a44dbbbb9 unpackFile: Always copy directories
If $src refers to a directory, then always copy it. Previously, we
checked the extension first, so if the directory had an extension like
.tar, unpackPhase would fail.
2014-08-09 12:44:49 +02:00
Eelco Dolstra
5e82aab5d4 Drop redundant space 2014-08-09 12:44:49 +02:00
Eelco Dolstra
daa66b8b1c Factor out fixup phase stuff into separate setup hooks 2014-08-09 12:44:49 +02:00
Eelco Dolstra
d7a4fa26b0 Fix dontPatchELF being set after the setup script has been sourced 2014-08-09 12:44:49 +02:00
Eelco Dolstra
83a41771ab Move RPATH shrinking from stdenv to a setup hook provided by patchelf 2014-08-09 12:44:49 +02:00
Eelco Dolstra
b23dbb1a5d Allow buildInputs to be regular files
If a build input is a regular file, use it as a setup hook. This makes
setup hooks more efficient to create: you don't need a derivation that
copies them to $out/nix-support/setup-hook, instead you can use the
file as is.
2014-08-09 12:44:49 +02:00
Eelco Dolstra
0a8605ded1 Formatting 2014-08-09 12:44:48 +02:00
Eelco Dolstra
37889e2b5e Provide a hook for per-output fixup 2014-08-09 12:44:48 +02:00
Eelco Dolstra
b0f2d3419c Allow multiple hooks with the same name
You can now register multiple values per named hook, e.g.

  addHook preConfigure "echo foo"
  addHook preConfigure "echo bar"

will cause ‘runHook preConfigure’ to run both ‘echo foo’ and ‘echo
bar’ (in that order). It will also call the shell function
preConfigure() or eval the shell variable $preConfigure, if
defined. Thus, if you don't call addHook, it works like the old hook
mechanism.

Allowing multiple hooks makes stdenv more modular and extensible. For
instance, multiple setup hooks can define a preFixup hook, and all of
these will be executed.
2014-08-09 12:44:48 +02:00
Eelco Dolstra
18e422d047 blender: Optionally build with CUDA support
This is required for GPU acceleration of the Cycles renderer.
2014-08-09 12:37:46 +02:00
lethalman
7d246d569a Merge pull request #3497 from madjar/nox
Nox: added expression
2014-08-09 12:33:17 +02:00
Georges Dubus
8de8d5a639 nox: Added expression 2014-08-09 12:30:38 +02:00
Luca Bruno
9300470b5e chicken: broken on darwin 2014-08-09 12:29:27 +02:00
Luca Bruno
ba2da1fa6c cadaver: mark as unsupported on darwin 2014-08-09 12:29:26 +02:00
Georges Dubus
abf2f3fcc5 Added expressions for dogpile.core and dogpile.cache 2014-08-09 12:04:58 +02:00
Luca Bruno
e9aadfd807 checkpolicy: mark as broken for ZHF 2014-08-09 11:42:18 +02:00
John Wiegley
db8ab2191d Merge pull request #3216 from cstrahan/libuv
add libuv package
2014-08-09 01:04:09 -05:00
John Wiegley
16ffd0638b Merge pull request #3266 from cstrahan/mesos
[WIP] mesos: Add package
2014-08-09 01:03:58 -05:00
John Wiegley
f4aaeef37c Merge pull request #3499 from Fuuzetsu/nvidia
Copy all so files over from nVidia blob
2014-08-09 01:02:07 -05:00
John Wiegley
a11e8d8b19 Merge pull request #3500 from Fuuzetsu/ppsspp
ppsspp: update to 0.9.9
2014-08-09 01:01:55 -05:00
Mateusz Kowalczyk
44d65c6582 youtube-dl: update to 2014.08.05 2014-08-09 02:57:18 +02:00
Mateusz Kowalczyk
27f8a89dfa ppsspp: update to 0.9.9 2014-08-09 02:49:50 +02:00
Mateusz Kowalczyk
816d971aea Copy all so files over from nVidia blob 2014-08-09 01:57:42 +02:00
lethalman
83e29974d1 Merge pull request #3498 from Fuuzetsu/nvidia
Copy over libGLESv2 and libEGL too for nVidia blob
2014-08-09 01:30:09 +02:00
John Wiegley
83cf279452 Add an expression for building Coq HEAD 2014-08-08 18:11:00 -05:00
Mateusz Kowalczyk
a5ee903e60 Copy over libGLESv2 and libEGL too for nVidia blob 2014-08-09 01:07:39 +02:00
Peter Simons
1e0576e6ee haskell-cgi: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
b2d870309d haskell-mtl: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
f31e42faa9 haskell-binary: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
3a45d920a6 haskell-deepseq: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
e8f929c93a haskell-fgl: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
956f2d52e2 haskell-mtl: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
101bb59c24 haskell-parallel: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
50afd7f3e7 haskell-network: don't build old versions of this package with a recent GHC 2014-08-09 00:57:34 +02:00
Peter Simons
3d47d2025b accelerate(-io): mark package as broken 2014-08-09 00:39:53 +02:00
Peter Simons
48fb5d73a6 cabal-install: don't build old versions of this package with a recent GHC 2014-08-09 00:39:53 +02:00
Peter Simons
ba59416c3d haddock: don't build old versions of this package with a recent GHC 2014-08-09 00:39:52 +02:00
Peter Simons
cee9394fb3 alex: don't build old versions of this package with a recent GHC 2014-08-09 00:39:52 +02:00
Peter Simons
9d30110b2e haskell-IORefCAS: mark package as broken 2014-08-09 00:39:52 +02:00
Peter Simons
faa33d58ce HaRe: don't build this with Hydra; the build is broken because of missing dependencies 2014-08-09 00:39:52 +02:00
Peter Simons
cc476c02bd haskell-token-utils: the package is broken with GHC 7.8.3 2014-08-09 00:39:52 +02:00
Peter Simons
f1fb0bf27b LambdaHack: disable Hydra builds for this package 2014-08-09 00:39:52 +02:00
Peter Simons
837b4da5cd haskell-QuickCheck: don't build old versions of this package with a recent GHC 2014-08-09 00:39:52 +02:00
Peter Simons
79b6cd0ab6 haskell-OpenGL(Raw): don't build old versions of this package with a recent GHC 2014-08-09 00:39:52 +02:00
Peter Simons
b7e11163ce haskell-HUnit: don't build old versions of this package with a recent GHC 2014-08-09 00:39:52 +02:00
Peter Simons
c2b405e06c haskell-{alex,BNFC}-meta: remove broken packages 2014-08-09 00:39:52 +02:00
Peter Simons
f02db17e2f haskell-Cabal-1.14: don't build this package with a recent GHC 2014-08-09 00:39:52 +02:00
Peter Simons
2c22978d66 haskell-HTTP: don't build old versions of this package with a recent GHC 2014-08-09 00:39:52 +02:00
Peter Simons
bfa075e8cb haskell-Tensor: don't compile this package with recent versions of GHC 2014-08-09 00:39:52 +02:00