summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* bootstrap-tools-linux: Use tar without aclAlexander Ried2016-04-18
|
* bootstrap-tools-linux: Qualify all multi-output packagesAlexander Ried2016-04-18
|
* stdenv-darwin: fix buildDan Peebles2016-04-16
| | | Fixes #14704
* Merge branch 'master' into closure-sizeVladimír Čunát2016-04-10
|\ | | | | | | | | | | Comparison to master evaluations on Hydra: - 1255515 for nixos - 1255502 for nixpkgs
| * Merge commit 'bde820' from stagingTuomas Tynkkynen2016-04-06
| |\ | | | | | | | | | | | | http://hydra.nixos.org/eval/1252653 - only ~9400 packages to go at the time of writing this.
| * | useOldCXXAbi: Change into a setup hookEelco Dolstra2016-04-01
| | | | | | | | | | | | Stdenv adapters considered weird.
| * | stdenvAdapters.useOldCXXAbi: add new adapterNikolay Amiantov2016-03-31
| | |
* | | Merge #12653: rework default outputsVladimír Čunát2016-04-07
|\ \ \
| * | | buildEnv: respect meta.outputsToInstallVladimír Čunát2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | As a result `systemPackages` now also respect it. Only nix-env remains and that has a PR filed: https://github.com/NixOS/nix/pull/815
| * | | stdenv: set meta.outputsToInstall unless overriddenVladimír Čunát2016-04-07
| | | |
* | | | Merge 'staging' into closure-sizeVladimír Čunát2016-04-07
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | This is mainly to get the update of bootstrap tools. Otherwise there were mysterious segfaults: https://github.com/NixOS/nixpkgs/pull/7701#issuecomment-203389817
| * | | | stdenv-linux: Update bootstrap toolsEelco Dolstra2016-04-07
| | |_|/ | |/| |
| * | | stdenv: don't complain about configure script not existingCharles Strahan2016-04-02
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Close #14335. Since 89036ef76ab09a, when a package doesn't include a configure script, the build complains with: grep: : No such file or directory grep: : No such file or directory This prevents that.
* | | Merge branch 'master' into closure-sizeVladimír Čunát2016-04-01
|\| | | | | | | | | | | | | | Beware that stdenv doesn't build. It seems something more will be needed than just resolution of merge conflicts.
| * | Merge remote-tracking branch 'origin/staging'Domen Kožar2016-03-27
| |\ \
| | * | cc-wrapper: add option to skip flags for native optimizationsNikolay Amiantov2016-03-24
| | | |
| | * | stdenv-darwin: Fix dependency on bootstrapToolsEelco Dolstra2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 2040a9ac574fffd36fe20130897ccec2d5928827 changed the order of $PATH elements, causing initialpath to appear after buildInputs. Thus gnugrep ended up depending on bin/sh from bootstrapTools, rather than from pkgs.bash. The fix is to provide pkgs.bash via buildInputs rather than initialPath. http://hydra.nixos.org/build/33276697
| | * | stdenv: don't overwrite $NIX_ENFORCE_PURITY settingTim Cuthbertson2016-03-13
| | | | | | | | | | | | | | | | Close #13583.
| | * | Merge remote-tracking branch 'origin/gcc-5' into stagingEelco Dolstra2016-03-11
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Still some breakage but no blockers: http://hydra.nixos.org/eval/1242130?filter=x86_64-linux&compare=1237852&full=#tabs-now-fail
| | | * | Switch to GCC 5Eelco Dolstra2016-02-28
| | | | |
| | * | | Merge remote-tracking branch 'origin/binutils-2.26' into stagingEelco Dolstra2016-03-11
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This still breaks a few packages, but nothing really major: http://hydra.nixos.org/eval/1241850?filter=x86_64-linux&compare=1237919&full=#tabs-now-fail
| | | * | | stdenv-linux: Ensure binutils comes before bootstrapTools in $PATHEelco Dolstra2016-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, when building glibc and other packages, the "strip" from bootstrapTools is used, which doesn't recognise some tags produced by the newer "ld" from binutils.
| | | * | | stdenv-linux: Avoid building m4/bison twiceEelco Dolstra2016-02-28
| | | |/ /
| | * | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2016-03-06
| | |\ \ \
| | * | | | Don't apply patchelf to itselfEelco Dolstra2016-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since patchelf 0.8 rewrites binaries in place, this causes a bus error.
| | * | | | make-bootstrap-tools: fix #13629: glibc problemsVladimír Čunát2016-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On x86_64-linux glibc started to use linker scripts more extensively. (cherry picked from commit aa564c9ed01268e7e0b030942592bc3beb642eef)
| | * | | | Move testBootstrapTools to make-bootstrap-tools.nixEelco Dolstra2016-03-03
| | | |/ / | | |/| |
| * | | | ARM stdenv: Update bootstrap toolsTuomas Tynkkynen2016-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, the current bootstrap tools fail to build gettext: init2.c:37: MPFR assertion failed: (64 - 0) == ((64 - 0)/8) * 8 && sizeof(mp_limb_t) == ((64 - 0)/8) libxml/xpath.c: In function 'xmlXPathCompPathExpr': libxml/xpath.c:10627:1: internal compiler error: Aborted xmlXPathCompPathExpr(xmlXPathParserContextPtr ctxt) { ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[5]: *** [libxml/libxml_rpl_la-xpath.lo] Error 1 I didn't investigate why this is the case but rebuilding the bootstrap tools seems to help. I used this old-ish WIP branch https://github.com/dezgeg/nixpkgs/commits/arm-bootstrap since latest master has even more problems with cross-compiling anything. (I will eventually push this stuff and make the ARM bootstraps build on hydra.)
| * | | | Replace references to all-packages.nix, by references to the top-level of ↵Nicolas B. Pierron2016-03-13
| | |/ / | |/| | | | | | | | | | nixpkgs repository.
* | | | Merge #13950: move ncurses utilities to $outVladimír Čunát2016-03-16
|\ \ \ \ | |_|_|/ |/| | |
| * | | ncurses: combine $lib and $out outputsThomas Tuegel2016-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $lib output refers to the terminfo database in $out, which is about 10x larger than the ncurses shared library. Splitting these outputs saves a small amount of space for any derivations that use the terminfo database but not the ncurses library, but we do not have evidence that any such exist.
* | | | make-bootstrap-tools: fix evaluation error on DarwinThomas Tuegel2016-03-11
|/ / /
* | | Merge master into closure-sizeVladimír Čunát2016-03-08
|\| | | | | | | | | | | | | | The kde-5 stuff still didn't merge well. I hand-fixed what I saw, but there may be more problems.
| * | make-bootstrap-tools: fix #13629: glibc problemsVladimír Čunát2016-03-03
| | | | | | | | | | | | On x86_64-linux glibc started to use linker scripts more extensively.
| * | Fix "nix" stdenv (close #13554)Danny Wilson2016-02-28
| |/ | | | | | | Broken by changes introduced in d96893647de5c519c458c1254f043f2d67d9b29c
| * fetchurlBoot: Use Nix's builtin fetchurl functionEelco Dolstra2016-02-27
| | | | | | | | | | This removes the need for curl in bootstrapTools, and enables https for bootstrap tarballs.
| * stdenv: set SSL_CERT_FILE only if it isn't alreadyNikolay Amiantov2016-02-25
| |
| * stdenvLinux: Use bash instead of sh from bootstrapToolsEelco Dolstra2016-02-24
| | | | | | | | | | | | | | "sh" is also bash, but invoking it as "sh" disables certain features like process substitution. Closes #13395.
| * Don't try to apply patchelf to non-ELF binariesEelco Dolstra2016-02-18
| |
| * bootstrap tools: have curl without http2 supportVladimír Čunát2016-02-17
| | | | | | | | | | | | I assume there's not much use for it during bootstrapping. This fixes them as well, as curl was compiled against libnghttp2 but the lib wasn't copied to the bootstrap tools.
| * stdenv: accept wider range of $configureScript optionsVladimír Čunát2016-02-03
| | | | | | | | | | | | | | | | | | | | | | Fixes #12632. I think it's better to quote this variable in general, because it is common and even documented to pass space-separated commands in there. The greps should just fail in that case and `if` won't proceed which seems fine for such cases, and it's certainly better than passing additional unintended parameters to grep (which was happening all the time before).
| * Move setting $SSL_CERT_FILE to stdenvEelco Dolstra2016-02-03
| | | | | | | | | | | | Doing it in an openssl setup hook only works if packages have openssl as a build input - it doesn't work if they're using a program linked against openssl.
* | stdenv-darwin: fix to work with multiple outputsDan Peebles2016-02-13
| |
* | Merge #12779: Mass replace `pkg}/bin`-style stringsVladimír Čunát2016-02-03
|\ \ | | | | | | | | | ... to refer to correct outputs
| * | treewide: Mass replace 'bzip2}/bin' to refer the 'bin' outputTuomas Tynkkynen2016-02-01
| | |
* | | Merge recent 'staging' into closure-sizeVladimír Čunát2016-02-03
|\ \ \ | |/ / |/| / | |/ Let's get rid of those merge conflicts.
| * defaultUnpack: Preserve timestamps when copying filesEelco Dolstra2016-01-26
| | | | | | | | | | | | | | | | | | Commit 6d928ab684327e0eeb1bf6cd889d57ca7127e8a7 changed this to not preserve timestamps. However, that results in non-determinism; in particular, it gives us a broken $SOURCE_DATE_EPOCH (especially for everything using fetchFromGitHub). Builds affected by timestamps < 1980 should be fixed in some other way (e.g. changing the timestamp to some fixed date > 1980).
| * linux stdenv bootstrap: avoid building grep twiceVladimír Čunát2016-01-25
| | | | | | | | | | It's perfectly enough when we use the bootstrapped grep everywhere except the one put into the final stdenv and final pkgs.
| * Linux stdenv update: pass gnugrep to cc-wrapperAnthony Cowley2016-01-24
| |
| * cc-wrapper: fix on darwinAnthony Cowley2016-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ld-wrapper.sh script calls `readlink` in some circumstances. We need to ensure that this is the `readlink` from the `coreutils` package so that flag support is as expected. This is accomplished by explicitly setting PATH at the top of each shell script. Without doing this, the following happens with a trivial `main.c`: ``` nix-env -f "<nixpkgs>" -iA pkgs.clang $ clang main.c -L /nix/../nix/store/2ankvagznq062x1gifpxwkk7fp3xwy63-xnu-2422.115.4/Library -o a.out readlink: illegal option -- f usage: readlink [-n] [file ...] ``` The key element is the `..` in the path supplied to the linker via a `-L` flag. With this patch, the above invocation works correctly on darwin, whose native `/usr/bin/readlink` does not support the `-f` flag. The explicit path also ensures that the `grep` called by `cc-wrapper.sh` is the one from Nix. Fixes #6447