summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* 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.
* stdenv setup.sh: revert most of changes around #14907Vladimír Čunát2016-05-12
| | | | | | | | | | | I'm giving this up. Feel free to find some reasonable variant that works at least on Linux and Darwin. Problems encountered: - During bootstrap of Darwin stdenv `env -0` and some bash features don't work. - Without `env -0` the contents of some multi-line phases is taken as variable declarations, which wouldn't typically matter, but the PR wanted to refuse bash-invalid names which would be occasionally triggered. This commit dowgrades that to a warning with explanation.
* stdenv substituteAll: use yet another implementationVladimír Čunát2016-05-08
| | | | | | | | It turned out that process substitution fed into a while-cycle isn't recognized during darwin bootstrap: http://hydra.nixos.org/build/35382446/nixlog/1/raw Also fix broken NIX_DEBUG output, noticed by abbradar.
* stdenv substituteAll: use more robust codeVladimír Čunát2016-05-07
| | | | | | | The set/env fix in #14907 wasn't very good, so let's use a null-delimited approach. Suggested by Aszlig. In particular, this should fix a mass-breakage on Darwin, though I was unable to test that.
* Merge #14920: windows improvements, mainly mingwVladimír Čunát2016-05-05
|\
| * stdenv on mingw: fix 64-bin DLL detection in some casesVladimír Čunát2016-04-23
| | | | | | | | | | In particular, this makes 64-bit libpng create DLL now, and thus depending packages won't fail anymore (e.g. freetype).
| * stdenv for windows: auto-link dependency DLLsVladimír Čunát2016-04-23
| | | | | | | | | | | | | | | | | | | | For every *.{exe,dll} in $output/bin/ we try to find all (potential) transitive dependencies and symlink those DLLs into $output/bin so they are found on invocation. (DLLs are first searched in the directory of the running exe file.) The links are relative, so relocating whole /nix/store won't break them. The hook is activated on cygwin and when cross-compiling to mingw.
* | Merge commit 'refs/pull/14907/head' of git://github.com/NixOS/nixpkgs into ↵Nikolay Amiantov2016-04-25
|\ \ | | | | | | | | | staging
| * | doc/stdenv.xml document substitution env variablesProfpatsch2016-04-23
| | | | | | | | | | | | | | | The filtering of environment variables that start with an uppercase letter is documented in the manual.
| * | setup.hs: substitute uses only valid bash namesProfpatsch2016-04-23
| |/ | | | | | | | | | | | | | | | | | | bash variable names may only contain alphanumeric ASCII-symbols and _, and must not start with a number. Nix expression attribute names however might contain nearly every character (in particular spaces and dashes). Previously, a substitution that was not a valid bash name would be expanded to an empty string. This commit introduce a check that throws a (hopefully) helpful error when a wrong name is used in a substitution.
* | stdenv: clarify how `outputsToInstall` is chosenNikolay Amiantov2016-04-25
| | | | | | | | See https://github.com/NixOS/nixpkgs/pull/14694/files#r60013871
* | add get* helper functions and mass-replace manual outputs search with themNikolay Amiantov2016-04-25
|/
* bootstrap-tools-linux: Use tar without aclAlexander Ried2016-04-18
|