Eelco Dolstra
41e1900ea1
Define closeNest before exitHandler
...
This prevents "closeNest: command not found" messages if setup fails
early.
2015-06-15 11:24:11 +02:00
Tuomas Tynkkynen
99a7bc241d
stdenv/linux: Link statically against isl & cloog
...
Otherwise this fails on ARM:
/nix/store/jipqp9739n7wrjz40igbk85pqk13s0ad-binutils-2.23.1/bin/ld: /nix/store/92pdpqrqkdf8wjciq1cisvsp8kdz8p2i-gmp-5.1.3/lib/libgmp.a(mp_get_fns.o): relocation R_ARM_MOVW_ABS_NC against `__gmp_allocate_func' can not be used when making a shared object; recompile with -fPIC
/nix/store/92pdpqrqkdf8wjciq1cisvsp8kdz8p2i-gmp-5.1.3/lib/libgmp.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libisl.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/nix-build-isl-0.11.1.drv-3/isl-0.11.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-isl-0.11.1.drv-3/isl-0.11.1'
make: *** [all] Error 2
builder for ‘/nix/store/a8ghniifd8d8agqx0cqsh41daa08v11c-isl-0.11.1.drv’ failed with exit code 2
2015-06-12 01:38:47 +02:00
Eelco Dolstra
4970574409
Merge remote-tracking branch 'origin/gcc-4.9' into staging
...
Conflicts:
pkgs/development/libraries/wayland/default.nix
2015-06-11 00:23:03 +02:00
Eelco Dolstra
cde5053d9a
Revert "curl: Modernize build"
...
This reverts commit 5e3fe3916a
.
2015-06-04 14:54:52 +02:00
Eelco Dolstra
3096d03435
Revert "Refactor mkFlag / shouldUsePkg into the nixpkgs libraries"
...
This reverts commit 25a148fa19
.
2015-06-04 14:54:48 +02:00
Eelco Dolstra
553abf71ba
Merge remote-tracking branch 'origin/staging' into gcc-4.9
...
Conflicts:
pkgs/build-support/cc-wrapper/default.nix
pkgs/development/libraries/wayland/default.nix
pkgs/development/tools/build-managers/cmake/default.nix
pkgs/top-level/all-packages.nix
2015-06-01 20:08:43 +02:00
Florian Friesdorf
88e58a4fa2
cygwin: stdenv
2015-05-28 10:53:34 +02:00
William A. Kennington III
25a148fa19
Refactor mkFlag / shouldUsePkg into the nixpkgs libraries
2015-05-22 13:26:55 -07:00
Eelco Dolstra
24aa3551b0
Fix stdenv build
2015-05-13 18:17:25 +02:00
Eelco Dolstra
9ae86dc3fc
Ensure that errexit is honoured in hooks
...
Partial fix for #7524 .
2015-05-13 18:17:25 +02:00
Eric Seidel
395829686d
add is{GNU,Clang} attrs to cc-wrapper.
...
These will be more pleasant to use than the existing
(cc.cc.isClang or false)
nonsense we currently do.
2015-05-11 14:39:36 -07:00
viric
1b982918f5
Merge pull request #7740 from dezgeg/arm
...
ARM changes for the Jetson TK1 (and other multiplatform boards)
2015-05-07 20:53:07 +02:00
William A. Kennington III
074c4a7f78
Merge remote-tracking branch 'upstream/master' into staging
2015-05-07 01:44:49 -07:00
Tuomas Tynkkynen
a7c4aba896
ARM: Assume armv7l-hf-multiplatform instead of beaglebone
...
Several places in the tree associate the ARMv7 system
with the beaglebone platform. Change them to point to
armv7l-hf-multiplatform as it supports several boards (including the
beaglebone as well)
2015-05-07 06:04:10 +03:00
William A. Kennington III
874fa4d8a3
busybox: 1.22.1 -> 1.23.2
...
Also use musl as libc since it is just as small as uclibc, usually more
performant, and regularly makes releases.
2015-05-06 00:15:16 -07:00
Eelco Dolstra
a58356c953
useGoldLinker: Fix appending to $NIX_CFLAGS_LINK
2015-05-04 14:00:45 +02:00
William A. Kennington III
5e3fe3916a
curl: Modernize build
2015-05-01 15:57:14 -07:00
Vladimír Čunát
30f31c9afc
Merge 'master' into staging
...
(relatively simple conflicts)
2015-04-26 22:52:08 +02:00
William A. Kennington III
232b71c6e8
Fix some platforms
2015-04-25 21:27:53 -07:00
William A. Kennington III
7ccccc15ba
Merge branch 'master' into staging
2015-03-27 16:03:03 -07:00
Eelco Dolstra
5c0eb64d43
Set more precise meta.position for Haskell packages
2015-03-27 16:17:48 +01:00
Eelco Dolstra
8b2f209838
mkDerivation: Use function arguments
2015-03-27 16:17:48 +01:00
William A. Kennington III
afa998eb32
stdenv: Substitute correctly chmods instead of .tmp which never exists
2015-03-26 15:44:54 -07:00
William A. Kennington III
767c179a94
Merge branch 'master' into staging
2015-03-26 14:44:05 -07:00
Eric Seidel
7f5367c69d
darwin: add apple cli-tools to initialPath so we can handle overrideCC
...
fixes #6934
2015-03-24 17:33:27 -07:00
Thomas Tuegel
8fd5dd89ac
Merge branch 'master' into staging
2015-03-24 17:49:30 -05:00
Eelco Dolstra
bda440a7b3
substitute: Fix "No such file or directory" message on Darwin
...
On Darwin, "chmod -f" does not suppress an error message if the file
doesn't exist. So just check if the file exists.
2015-03-24 14:12:24 +01:00
Eelco Dolstra
d3756e162c
stdenv-darwin: Auto-detect the "right" SDK version
2015-03-23 16:46:41 +01:00
Eelco Dolstra
ead7762573
stdenv-darwin: Use --sdk macosx10.9
...
Otherwise builds fail on Mac OS X 10.9 with Xcode 6.1. This is because
"xcrun --show-sdk-version" returns 10.10, which doesn't work.
2015-03-23 16:04:37 +01:00
Eelco Dolstra
a89c14dc3c
No camelCase in filenames
2015-03-23 12:03:01 +01:00
Eelco Dolstra
8470b03db2
Remove unused file
2015-03-23 12:02:13 +01:00
Eelco Dolstra
692ed0882a
Fix eval-release.nix evaluation
2015-03-06 15:09:51 +01:00
Eric Seidel
3ea2aa4136
stdenv/darwin: choose sdkroot based xcrun default
2015-03-04 21:36:09 -08:00
codyopel
e29b0da9c7
remove stdenv.isBSD
2015-02-24 22:15:51 -05:00
Dan Peebles
025f87f79a
Bootstrap tools for the upcoming new darwin stdenv (not working yet in this stdenv, but will soon)
2015-02-18 00:24:34 -05:00
Dan Peebles
ecf662efc6
Flip cctools and cctools cross
2015-02-18 00:24:33 -05:00
Lluís Batlle i Rossell
6790caf713
I add back the arm unpack script
...
The unified made by ambro doesn't work for me in the sheevaplug.
2015-02-09 22:36:10 +01:00
Lluís Batlle i Rossell
2b7aace1ae
Renaming make-bootstrap-tools-crosspi to cross.
...
It can build more than the raspberrypi bootstrap tools.
2015-02-05 23:32:09 +01:00
Lluís Batlle i Rossell
a761b33d8c
Using fixed bootstraptools.
...
Built natively with latest fixes.
2015-02-05 23:00:08 +01:00
Lluís Batlle i Rossell
389d0f668e
Bootstrap tools armv5tel
...
Conflicts:
pkgs/stdenv/linux/default.nix
pkgs/stdenv/linux/scripts/unpack-bootstrap-tools-arm.sh
2015-02-05 22:42:58 +01:00
Lluís Batlle i Rossell
6944b15d88
Fix busybox stdenv?
...
(cherry picked from commit db8668c0bb0dc8feb4929867adf1b60f7025a925)
2015-02-05 22:41:07 +01:00
Ambroz Bizjak
ef9c21a0e2
Adding the sheevaplug to make-bootstrap-tools-cross
2015-02-05 21:37:29 +01:00
Ambroz Bizjak
93e018cbe9
Make the bootstrap-tools test use the real unpacking derivation.
2015-02-05 21:29:02 +01:00
Ambroz Bizjak
810b416d89
Consolidate the unpack scripts for the bootstrap tools.
2015-02-05 21:27:12 +01:00
Ambroz Bizjak
8fb7d8bede
Fix building and unpacking of the ARM boostrap tools.
...
NOTE: This is incomplete - the tools need to be built, uploaded and the references fixed.
2015-02-05 21:26:55 +01:00
Ambroz Bizjak
0a8ca604b4
Fix cross compiling regression due to gcc->cc renaming.
2015-02-05 21:25:25 +01:00
Eric Seidel
4a467ec02b
move libcxx[abi] into llvm tree
2015-02-03 14:58:10 -08:00
Eric Seidel
92188d9d17
new darwin stdenv
2015-02-03 14:05:22 -08:00
Shea Levy
c45372f038
Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae'
...
Partial staging merge, including cc-wrapper fixes
Conflicts:
pkgs/applications/audio/spotify/default.nix
pkgs/build-support/cc-wrapper/default.nix
pkgs/development/compilers/cryptol/1.8.x.nix
2015-02-02 21:14:28 -05:00
Wout Mertens
ef2e0ffdea
stdenv: fix eval - the return
2015-01-29 10:54:07 +01:00