summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* Merge staging without python splitting for nowVladimír Čunát2016-10-14
|\ | | | | | | | | The split needs more time to finish rebuilding, but the rest seems OK and there are security fixes.
| * Merge branch 'master' into stagingVladimír Čunát2016-10-13
| |\
| * | stdenv stripHash(): fixup after #19324Vladimír Čunát2016-10-12
| | |
| * | stdenv/stripHash: print to stdout, not to variableProfpatsch2016-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `stripHash` documentation states that it prints out the stripped name to the stdout, but the function stored the value in `strippedName` instead. Basically all usages did something like `$(stripHash $foo | echo $strippedName)` which is just braindamaged. Fixed the implementation and all invocations.
* | | tested job: fixup evaluation after 5dadc3aVladimír Čunát2016-10-14
| | | | | | | | | | | | | | | I believe hardcoding system to builtins.currentSystem isn't very good, as e.g. Hydra surely evaluates on Linux only...
* | | darwin.make-bootstrap-tools: fix for new stdenv setupDan Peebles2016-10-13
| |/ |/|
* | [darwin.stdenv] Fix to work on SierraDan Peebles2016-10-12
|/ | | | | | | This reinstates the libSystem selective symbol export machinery we used to have, but locks it to the symbols that were present in 10.11 and skips the actual compiled code we put into that library in favor of the system initialization code. That should make it more stable and less likely to do weird stuff than the last time we did this.
* Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra2016-09-20
|\
| * stdenv.mkDerivation: add comments w/ manual links (#18707)Chris Martin2016-09-18
| |
* | stdenv-darwin: downgrade default LLVM back to 3.7Dan Peebles2016-09-14
| | | | | | | | | | | | | | The 3.8 upgrade was premature and appears to be breaking a load of stuff that I can't look into right now. Will take it back to 3.8 and test more thoroughly before pushing more broadly. I should learn to change fewer variables at a time :)
* | stdenv-darwin: upgrade a few more thingsDan Peebles2016-09-12
|/ | | | | | | | | | | It's a long build and generally painful to split into smaller commits, so I apologize for lumping many changes into one commit but this is far easier. There are still several outdated parts of the darwin stdenv but these changes should bring us closer to the goal. Fixes #18461
* stdenv: leave SSL_CERT_FILE in shells (#15571)Nikolay Amiantov2016-09-01
|
* Merge remote-tracking branch 'dezgeg/shuffle-outputs' into stagingTuomas Tynkkynen2016-08-30
|\ | | | | | | https://github.com/NixOS/nixpkgs/pull/14766
| * stdenv.mkDerivation: Use chooseDevOutputsTuomas Tynkkynen2016-08-29
| |
* | Revert "make-bootstrap-tools.darwin: upgrade to llvm 3.8"obadz2016-08-29
|/ | | | | | | | This reverts commit bddf4e21801d0629b608a8a0a46830c795e35ba4. Trying to fix stdenvBootstrapTools.x86_64-darwin.stdenv cc @copumpkin @domenkozar
* Merge remote-tracking branch 'upstream/master' into stagingRobin Gloster2016-08-29
|\
| * stdenv: Add platformsTuomas Tynkkynen2016-08-28
| |
* | Merge branch 'master' into stagingobadz2016-08-27
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/applications/misc/navit/default.nix pkgs/applications/networking/mailreaders/alpine/default.nix pkgs/applications/networking/mailreaders/realpine/default.nix pkgs/development/compilers/ghc/head.nix pkgs/development/libraries/openssl/default.nix pkgs/games/liquidwar/default.nix pkgs/games/spring/springlobby.nix pkgs/os-specific/linux/kernel/perf.nix pkgs/servers/sip/freeswitch/default.nix pkgs/tools/archivers/cromfs/default.nix pkgs/tools/graphics/plotutils/default.nix
| * make-bootstrap-tools-cross.nix: Fix gcc build-time options for armv5telTuomas Tynkkynen2016-08-28
| | | | | | | | | | | | I broke this in the cleanups I did in 171c7f0, the gcc inside the bootstrap tarball is not getting built with the correct --with-fpu, --with-float etc. options.
* | Tweak error messageEelco Dolstra2016-08-26
| |
* | stdenv substitute: fail on non-existant input fileRobin Gloster2016-08-26
| | | | | | | | fixes #9744
* | Revert "Revert "Merge branch 'modprobe-fix' of ↵Shea Levy2016-08-24
|/ | | | | | | | | | git://github.com/abbradar/nixpkgs"" Revert a revert of a merge that shouldn't have been in master but was intentionally in staging. Next time I'll do this right after the revert instead of so far down the line... This reverts commit 9adad8612b082bcbae30c81678a04b79a44079a4.
* Partially revert "make-bootstrap-tools.darwin: upgrade to llvm 3.8"obadz2016-08-21
| | | | | | | | | This partially reverts commit bddf4e21801d0629b608a8a0a46830c795e35ba4. cc @copumpkin Was breaking nix-build <nixpkgs/nixos/release-combined.nix> -A nixpkgs.tarball See http://hydra.nixos.org/build/38886695/nixlog/2
* make-bootstrap-tools.darwin: upgrade to llvm 3.8Dan Peebles2016-08-19
| | | | | | | | | | This will break part of the bootstrap tools tests because the new tools need some changes in the stdenv, but if I change them all at once, the stdenv breaks with the old bootstrap tools. So I'm doing this first, then will make changes to the stdenv once this bundle is built and I can use it. I also added some functionality to let me test one set of bootstrap tools on another nixpkgs tree, which makes testing a lot more pleasant.
* Revert "Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs"Shea Levy2016-08-15
| | | | | | | Was meant to go into staging, sorry This reverts commit 57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1, reversing changes made to 760b2b9048ea775c319cb348d74447a20dea513e.
* make-bootstrap-tools: fix on darwinDan Peebles2016-08-14
| | | A couple of things broke after my stdenv change.
* stdenv: ARM bootstrap: Update bootstrap tarballs to hydra-built onesTuomas Tynkkynen2016-07-20
| | | | | | | | | | Picked from the following cross-trunk evaluation: http://hydra.nixos.org/eval/1283982#tabs-inputs based on nixpkgs commit 33a1d8080b50bdbf0143f4513db2fb4fe3acbd2e. armv5tel job: http://hydra.nixos.org/build/37908177 armv6l job: http://hydra.nixos.org/build/37908176 armv7l job: http://hydra.nixos.org/build/37908175
* make-bootstrap-tools{,-cross}.nix: Create deterministic tarsTuomas Tynkkynen2016-07-20
|
* make-bootstrap-tools-cross.nix: Support 'dist' targetTuomas Tynkkynen2016-07-20
|
* make-bootstrap-tools-cross.nix: More syncs from the non-cross versionTuomas Tynkkynen2016-07-20
|
* make-bootstrap-tools-cross.nix: Reference correct outputsTuomas Tynkkynen2016-07-20
|
* make-bootstrap-tools-cross.nix: Use busybox with muslTuomas Tynkkynen2016-07-20
| | | | | Do this because I cannot figure out how to refer to `glibc.static` inside busybox when cross building in a manner that works.
* make-bootstrap-tools-cross.nix: Have more consistency with platforms.nixTuomas Tynkkynen2016-07-20
| | | | | E.g. we had `arch = "arm"` in the former and `arch = "armv6"` in the latter. Try to have some more consistency.
* make-bootstrap-tools-cross.nix: Add/fix some .so dependenciesTuomas Tynkkynen2016-07-20
| | | | | | | | | | | | - cloog, ppl, cloogppl aren't used by recent GCCs. Kill references to them. - Use correct versions of isl, as the current GCC depends on non-default versions of them. - Also clarify isl dynamic libraries are needed in cross builds, but not in native builds - Since aeb3d8c (bzip2: fix cross build on mingw by using autoconf patch), it seems that the bzip2 binary depends on libbz2 when cross compiling. So copy libbz2 into the bootstrap tarball as well. - Curl isn't used in the bootstrap tools since e6f61b4cf3388.
* stdenv: Remove unpack-bootstrap-tools-arm.shTuomas Tynkkynen2016-07-20
| | | | | | | This file was using the 'double patchelf' hack, which hasn't been needed for a while, after the original patchelf bug was fixed: https://github.com/NixOS/patchelf/commit/65a4dc6aa982191b11c739c4c9b802c7fa4cbebb
* darwin make-bootstrap-tools: Document reason for special coreutilsTuomas Tynkkynen2016-07-09
| | | | | Discussion: https://github.com/NixOS/nixpkgs/commit/ac4958efc33322c9
* Revert "Revert "make-bootstrap-tools: try again to fix on Darwin""Tuomas Tynkkynen2016-07-09
| | | | | | | | This reverts commit debd401b0f8bedae10c368abd0cacf75ef7f6350. We must not use a single-binary build for the bootstrap since the common binary gains a dynamic linkage to gmp (due to 'factor' and 'expr' handling arbitrary-precision arithmetic).
* make-bootstrap-tools: try again to fix on DarwinVladimír Čunát2016-07-03
| | | | | For discussion see: https://github.com/NixOS/nixpkgs/commit/ac4958efc33322c9
* Revert "make-bootstrap-tools: try again to fix on Darwin"Vladimír Čunát2016-07-03
| | | | This reverts commit ac4958efc33322c9ae4252a1a239c33f21d8714c.
* make-bootstrap-tools: try again to fix on DarwinVladimír Čunát2016-07-03
| | | | I've got no way to test, so just trying a likely safer way blindly.
* make-bootstrap-tools*: fixup after #16406Vladimír Čunát2016-06-28
| | | | | | | | | | | Our coreutils now uses single-binary-build mode where, by default, simple shebang scripts are used for all the binaries. That doesn't work e.g. with the Linux unpacker which only handles standard binaries and symlinks. Let's use the symlinked mode instead for boostrapping. This does NOT change any stdenv hashes. I only tested the case most important to me: $ nix-build pkgs/top-level/release.nix -A stdenvBootstrapTools.x86_64-linux.test
* Merge 'master' into staging and re-revert mergeVladimír Čunát2016-06-23
|\ | | | | | | ... from staging to master, reverted temporarily in aa9a04883e34.
| * Revert "Merge branch 'staging'" due to glibcVladimír Čunát2016-06-23
| | | | | | | | | | | | | | | | The main output started to retain dependency on bootstrap-tools; see https://github.com/NixOS/nixpkgs/pull/15867#issuecomment-227949096 This reverts commit c05d8295988697adbb920a7b4a999ae3670c5504, reversing changes made to f073df60d60444c30c49cb26d6b187a4100b41fe.
| * Merge branch 'staging'Vladimír Čunát2016-06-22
| |\ | |/ |/|
| * Remove more dead code: `stdenvDarwinNaked` no longer existsJohn Ericson2016-06-20
| |
| * Remove dead code in stdenvCross adaptorJohn Ericson2016-06-20
| |
* | make-bootstrap-tools-cross.nix: Strip extra whitespaceTuomas Tynkkynen2016-06-10
| |
* | pkgs.runCommand: passAsFile (buildCommand can be very long)Domen Kožar2016-06-10
|/ | | | | | | | | | | | | | Close #15803. This avoids the error: while setting up the build environment: executing ‘/nix/store/7sb42axk5lrxqz45nldrb2pchlys14s1-bash-4.3-p42/bin/bash’: Argument list too long Note: I wanted to make it optional based on buildCommand length, but that seems pointless as I'm sure it's less performant. Amended by vcunat: https://github.com/NixOS/nixpkgs/pull/15803#issuecomment-224841225
* stdenv: fix paxmarkJoachim Fasting2016-05-27
| | | | | | | | | | On Linux, paxctl's setup hook should overwrite the paxmark stub, but the stub is defined after the setup hooks are sourced, so the stub ends up overwriting the real function. The result is that paxmark fails to do anything. The fix is to define the stub before any setup hooks are sourced. Thanks to @vcunat for figuring this out. Closes #15492
* Allow not rebasing in cygwin stdenv.Lluís Batlle i Rossell2016-05-20
| | | | | | | | | | | | | This changes cygwin stdenv, but I don't think it will hurt much people. This allows mkDerivation to get "dontRebase=true" to skip the usual cygwin rebase. This is required, if we are using this stdenv to build DLLs for win32 inside x86_64-cygwin, because /bin/rebase crashes at finding an arch mismatch. Additionally, we don't need any rebase for libraries built by visual studio and meant for visual studio (my use case). I'm using nix in x86_64-cygwin to build libraries with visual studio, both for x86_64 and x86.