about summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
...
| | * | 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
* | treewide: Mass replace 'zlib}/lib' to refer the 'out' outputTuomas Tynkkynen2016-01-24
| |
* | treewide: Mass replace 'pcre}/lib' to refer the 'out' outputTuomas Tynkkynen2016-01-24
| |
* | treewide: Mass replace 'mpfr}/lib' to refer the 'out' outputTuomas Tynkkynen2016-01-24
| |
* | treewide: Mass replace 'binutils}/lib' to refer the 'out' outputTuomas Tynkkynen2016-01-24
| |
* | Merge branch 'staging' into closure-sizeVladimír Čunát2016-01-19
|\|
| * Merge branch 'master' into stagingVladimír Čunát2016-01-18
| |\
| | * stdenv-darwin: add parent attribute to bootstrapDan Peebles2016-01-16
| | | | | | | | | | | | | | | This makes it far easier than before to hit/test early stages of the stdenv bootstrap.
| * | Set SOURCE_DATE_EPOCH to latest source fileEelco Dolstra2016-01-05
| | | | | | | | | | | | | | | This provides a timestamp that's more useful than 1970-01-01 yet still deterministic.
| * | Set a fallback default value for SOURCE_DATE_EPOCHEelco Dolstra2016-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used by some build tools to provide reproducible builds. See https://reproducible-builds.org/specs/source-date-epoch/ for more info. Later, we'll want to set this to a more intelligent value (such as the most recent mtime of any source file).
| * | Merge branch 'master' into stagingVladimír Čunát2016-01-05
| |\|
| | * stdenv-darwin: allow easier testing of bootstrap toolsDan Peebles2016-01-03
| | | | | | | | | | | | | | | | | | | | | This un-hardcodes the bootstrap tools passed into the Darwin stdenv and thus allows us to quickly iterate on improving the design of the full bootstrap process. We can easily change the contents of the bootstrap tools and evaluate an entire bootstrap all the way up to real packages.
| | * stdenv-darwin: rename folder and associated attributeDan Peebles2016-01-03
| | | | | | | | | No point in calling it pure-darwin anymore. It's the only stdenv we have
| | * stdenv-darwin: kill old impure Darwin stdenvDan Peebles2016-01-03
| | | | | | | | | | | | I'll be moving the other one over it next commit (I split it into two to improve git's rename detection)
| * | Merge #10816: improve FreeBSD supportVladimír Čunát2016-01-05
| |\ \
| | * | FreeBSD: undo removal of Solaris and remove changes to native stdenv now ↵janus2016-01-01
| | | | | | | | | | | | | | | | that FreeBSD has its own