Profpatsch
ee07543ccd
stdenv: licenseAllowed
-> checkValidity
...
Rename and make it a true function (that can be re-used and could be
moved to the library).
2015-11-27 21:56:28 +01:00
Jude Taylor
f5609a4d2a
reintroduce impure host deps to all derivations
2015-11-21 15:51:48 -08:00
Jude Taylor
69e7f3bb74
switch to zero underscores for sandbox profiles; remove generateFrameworkProfile
2015-11-21 12:10:33 -08:00
Jude Taylor
a63346e33c
use single underscore for sandboxProfile
2015-11-21 11:17:30 -08:00
Vladimír Čunát
333d69a5f0
Merge staging into closure-size
...
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Jude Taylor
131e831cb9
allow networking by default and remove it from derivations
2015-11-19 11:31:06 -08:00
Jude Taylor
163acc0efa
remove useless muting lines; they interfere with debugging
2015-11-19 11:31:06 -08:00
Jude Taylor
df80090d09
use per-derivation sandbox profiles
2015-11-19 11:31:06 -08:00
Jude Taylor
914e9baefe
start on sandbox stuff
2015-11-19 11:31:06 -08:00
Wout Mertens
774f74b875
Don't fail if env-vars cannot be written to
...
env-vars is a debugging aid, see
3e5dbb2433
for a rationale for this change.
2015-11-04 16:32:59 +01:00
William A. Kennington III
dd2de66d61
Merge branch 'master.upstream' into staging.upstream
2015-10-30 17:16:07 -07:00
Eelco Dolstra
971430f623
Move stdenv-darwin bootstrap binaries to nixos.org
...
These are taken from http://hydra.nixos.org/build/27002702 .
2015-10-29 22:16:06 +01:00
Jude Taylor
85ba0035bd
rebase on eelco's bootstrap-tools changes
2015-10-23 10:27:34 -07:00
Jude Taylor
1ddc52a782
update pure-darwin make-bootstrap-tools
2015-10-23 10:05:19 -07:00
Eelco Dolstra
45c7dd7d98
Add stdenv bootstrap tools generation to release.nix
2015-10-23 13:05:36 +02:00
Vladimír Čunát
4917a4f8b3
Merge master into staging
2015-10-23 01:57:14 +02:00
Eelco Dolstra
764a523cf9
Drop unnecessary __impureHostDeps
...
<nix/fetchurl.nix> is a builtin derivation so it shouldn't need any
host dependencies.
2015-10-21 15:16:45 +02:00
Jude Taylor
c7cc743b52
inherit system for builtin fetchurl in PD
2015-10-15 18:08:53 -07:00
Jude Taylor
c70ec3ec63
re-fix evaluation of libSystemClosure
2015-10-15 17:19:10 -07:00
Jude Taylor
9685b08db7
fix libSystemClosure on non-darwin machines
2015-10-15 14:09:30 -07:00
William A. Kennington III
8a44a36ca4
Merge branch 'master.upstream' into staging.upstream
2015-10-15 10:22:28 -07:00
Jude Taylor
f4dbf6d7c8
Merge pull request #10187 from NixOS/switch-to-pd
...
Switch stdenvs to pure-darwin
2015-10-14 16:13:25 -07:00
Vladimír Čunát
99e4371526
curl: split into multiple outputs
...
Also use pkgconfig to be safer and fix (some) referrers.
2015-10-13 20:18:48 +02:00
Vladimír Čunát
17a3f6a6fa
icu: split into multiple outputs
2015-10-13 20:18:44 +02:00
Eelco Dolstra
741bf840da
Revert "Merge pull request #9543 from NixOS/staging.post-15.06"
...
This reverts commit f61176c539
, reversing
changes made to a27ca029ee
.
Conflicts:
pkgs/development/libraries/ncurses/default.nix
2015-10-06 15:24:20 +02:00
Jude Taylor
7283bb7466
introduce separate cf-private package to account for no CLT
2015-10-06 00:11:10 -07:00
Jude Taylor
0a32eab91e
fix LLVM packages to work in darwin stdenv
2015-10-05 08:46:56 -07:00
Vladimír Čunát
f361938b21
Merge staging into closure-size
...
This makes gcc5 the default builder, etc.
2015-10-03 15:23:13 +02:00
Vladimír Čunát
5227fb1dd5
Merge commit staging+systemd into closure-size
...
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
William A. Kennington III
ed71860928
Merge branch 'staging.upstream' into staging.post-15.06
2015-10-02 12:41:04 -07:00
Jude Taylor
df3d54e3bb
switch stdenvs
2015-10-02 12:26:33 -07:00
Jude Taylor
6367e48225
Revert "pop"
...
This reverts commit 724e243159
.
This (clearly) should never have been committed, and is probably due to a failed stash pop
on my part.
2015-09-28 09:41:02 -07:00
William A. Kennington III
d3f4ba9d6f
Merge branch 'master.upstream' into staging.upstream
2015-09-23 14:44:21 -07:00
Drew Hess
3c8b92f4b3
Workaround for getcwd configure test on 10.11.
...
See https://openradar.appspot.com/22671534 for a description of the
problem.
2015-09-23 14:41:41 -07:00
Jude Taylor
724e243159
pop
2015-09-22 16:27:51 -07:00
Eelco Dolstra
2a28bc6691
separateDebugInfo: Assert Linux
...
Also remove some unintended setting of separateDebugInfo.
2015-09-22 20:21:10 +02:00
William A. Kennington III
8b670fba26
Merge branch 'staging.upstream' into staging.post-15.06
2015-09-19 14:39:57 -07:00
Eelco Dolstra
ec5b66eb4a
Enable separate debug info
...
You can now pass
separateDebugInfo = true;
to mkDerivation. This causes debug info to be separated from ELF
binaries and stored in the "debug" output. The advantage is that it
enables installing lean binaries, while still having the ability to
make sense of core dumps, etc.
2015-09-17 15:56:33 +02:00
William A. Kennington III
f4a42ae509
gcc: Make 5.x the default
2015-09-15 12:14:12 -07:00
William A. Kennington III
5ca1c32a9d
Merge branch 'master.upstream' into staging.upstream
2015-08-28 17:55:20 -07:00
Eelco Dolstra
f15270833a
Don't barf JSON at users in error messages
2015-08-27 15:32:45 +02:00
Jude Taylor
c1f2fd4619
update pure-darwin bootstrap tools with new hash
2015-08-25 11:12:09 -07:00
William A. Kennington III
4f22eadf2c
Merge branch 'master.upstream' into staging.upstream
2015-08-19 20:52:17 -07:00
Peter Simons
81ce9be104
Revert "Move licenseAllowed check into the builder attribute ( fixes #7541 )"
...
This reverts commit 4d6452ba
. The change affects Hydra in a way we didn't
expect: https://github.com/NixOS/nixpkgs/pull/9305#issuecomment-132791730 .
2015-08-19 23:37:45 +02:00
William A. Kennington III
901482ad99
Merge branch 'master.upstream' into staging.upstream
2015-08-19 13:54:48 -07:00
Mathnerd314
4d6452bab9
Move licenseAllowed check into the builder attribute ( fixes #7541 )
2015-08-17 10:54:38 -06:00
William A. Kennington III
952def0e3c
Merge branch 'master.upstream' into staging.upstream
2015-08-13 11:55:02 -07:00
Jude Taylor
ef95107ddc
make isClang work the way a user might expect
2015-08-12 11:27:54 -07:00
Vladimír Čunát
5ad448df3a
enableDebugging: use more suitable gcc flags
...
-ggdb is supposed to provide better symbol information when used with gdb
-Og is the recommended optimization level for debugging purposes
2015-08-10 09:11:30 +02:00
Eelco Dolstra
32caa604e3
Force Nixpkgs rebuild
...
Gratuitous change to force Hydra to rebuild Nixpkgs after some
derivations had their references corrupted by a Hydra bug
(ff3f5eb4d8
).
2015-08-03 20:03:11 +02:00
Jude Taylor
fa6c8445c7
make libcxxStdenv work on both darwin and linux
2015-07-27 14:25:40 -07:00
Jude Taylor
a2b3fe28a8
make bootstrap files buildable in sandbox
2015-07-10 14:00:47 -07:00
Jude Taylor
cb3e282cda
unique host deps, otherwise we get 600000 char derivations
2015-07-08 14:15:03 -07:00
Jude Taylor
14d83e9565
add gnused to impure darwin stdenv
2015-06-19 22:08:01 -07:00
Jude Taylor
3790cb7d43
fix nonexistent cc path in bootstrap stdenv
2015-06-18 13:44:40 -07:00
Vladimír Čunát
61596bf405
Merge #8363 : pure-darwin stdenv
2015-06-18 22:38:08 +02:00
Jude Taylor
fe75f16032
move pure stdenv into a new directory, bring back the old one
...
remove __impure from non-darwin OSes
2015-06-18 13:19:34 -07:00
Jude Taylor
87bca3698a
remove sort and unique from stdenv
2015-06-18 12:37:42 -07:00
Jude Taylor
fa9c81f694
pure darwin stdenv
2015-06-18 12:37:41 -07:00
Eelco Dolstra
d72538be8d
Don't include /no-such-path in buildInputs
2015-06-15 19:26:52 +02:00
Eelco Dolstra
42d94b6f15
Barf on non-existant build inputs
...
Previously saying
buildInputs = [ "bla" ];
was quietly ignored. Now it's a fatal error.
2015-06-15 11:24:55 +02:00
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
Vladimír Čunát
3b9ef2c71b
fix "libc}/lib" and similar references
...
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
Vladimír Čunát
375bc8def7
Merge staging into closure-size
2015-05-05 11:49:03 +02: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
Vladimír Čunát
a99e543c36
bzip2: split into multiple outputs, refactor
2015-04-18 19:32:52 +02:00
Vladimír Čunát
d484c392aa
stdenv multiple-outputs: change propagation rules
...
Now development stuff is propagated from the first output,
and userEnvPkgs from the one with binaries.
Also don't move *.la files (yet). It causes problems, and they're small.
2015-04-18 19:30:28 +02:00
Vladimír Čunát
bf414c9d4f
Merge 'staging' into closure-size
...
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes
Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02: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