summary refs log tree commit diff
path: root/pkgs/stdenv/generic
Commit message (Collapse)AuthorAge
* 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: set SSL_CERT_FILE only if it isn't alreadyNikolay Amiantov2016-02-25
|
* Don't try to apply patchelf to non-ELF binariesEelco Dolstra2016-02-18
|
* 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.
* 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).
* 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).
* stdenv/setup.sh: don't skip post-hooks (close #12032)Vladimír Čunát2016-01-05
| | | | | | | | | | So far if no configure script is found or no makefile, the rest of the phase is skipped, *including* post-hooks. I find that behavior unexpected/unintuitive. Earlier version of this patch had problems due to me assuming that $configureScript is always a simple path, but that turned out to be false in many cases, e.g. perl.
* allow{reason}: a bit more explicit error messageDomen Kožar2015-12-09
|
* Merge recent staging built on HydraVladimír Čunát2015-12-05
|\ | | | | | | | | | | http://hydra.nixos.org/eval/1231884 Only Darwin jobs seem to be queued now, but we can't afford to wait for that single build slave.
| * reintroduce impure host deps to all derivationsJude Taylor2015-11-21
| |
| * switch to zero underscores for sandbox profiles; remove generateFrameworkProfileJude Taylor2015-11-21
| |
| * use single underscore for sandboxProfileJude Taylor2015-11-21
| |
| * use per-derivation sandbox profilesJude Taylor2015-11-19
| |
| * start on sandbox stuffJude Taylor2015-11-19
| |
* | stdenv: `licenseAllowed` -> `checkValidity`Profpatsch2015-11-27
|/ | | | | Rename and make it a true function (that can be re-used and could be moved to the library).
* Don't fail if env-vars cannot be written toWout Mertens2015-11-04
| | | | | | env-vars is a debugging aid, see https://github.com/NixOS/nix/commit/3e5dbb24337d8416cfe46484eb2692811546a9c1 for a rationale for this change.
* separateDebugInfo: Assert LinuxEelco Dolstra2015-09-22
| | | | Also remove some unintended setting of separateDebugInfo.
* Enable separate debug infoEelco Dolstra2015-09-17
| | | | | | | | | | | 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.
* Don't barf JSON at users in error messagesEelco Dolstra2015-08-27
|
* Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-08-19
|\
| * Revert "Move licenseAllowed check into the builder attribute (fixes #7541)"Peter Simons2015-08-19
| | | | | | | | | | This reverts commit 4d6452ba. The change affects Hydra in a way we didn't expect: https://github.com/NixOS/nixpkgs/pull/9305#issuecomment-132791730.
* | Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-08-19
|\|
| * Move licenseAllowed check into the builder attribute (fixes #7541)Mathnerd3142015-08-17
| |
* | Force Nixpkgs rebuildEelco Dolstra2015-08-03
|/ | | | | | Gratuitous change to force Hydra to rebuild Nixpkgs after some derivations had their references corrupted by a Hydra bug (https://github.com/NixOS/hydra/commit/ff3f5eb4d8751243a1f7e738a5124c650e541aca).
* unique host deps, otherwise we get 600000 char derivationsJude Taylor2015-07-08
|
* Merge #8363: pure-darwin stdenvVladimír Čunát2015-06-18
|\
| * move pure stdenv into a new directory, bring back the old oneJude Taylor2015-06-18
| | | | | | | | remove __impure from non-darwin OSes
| * remove sort and unique from stdenvJude Taylor2015-06-18
| |
| * pure darwin stdenvJude Taylor2015-06-18
| |
* | Barf on non-existant build inputsEelco Dolstra2015-06-15
| | | | | | | | | | | | | | | | Previously saying buildInputs = [ "bla" ]; was quietly ignored. Now it's a fatal error.
* | Define closeNest before exitHandlerEelco Dolstra2015-06-15
| | | | | | | | | | This prevents "closeNest: command not found" messages if setup fails early.
* | Merge remote-tracking branch 'origin/gcc-4.9' into stagingEelco Dolstra2015-06-11
|\ \ | |/ |/| | | | | Conflicts: pkgs/development/libraries/wayland/default.nix
| * Merge remote-tracking branch 'origin/staging' into gcc-4.9Eelco Dolstra2015-06-01
| |\ | | | | | | | | | | | | | | | | | | | | | 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
| * | Ensure that errexit is honoured in hooksEelco Dolstra2015-05-13
| | | | | | | | | | | | Partial fix for #7524.
* | | Revert "Refactor mkFlag / shouldUsePkg into the nixpkgs libraries"Eelco Dolstra2015-06-04
| |/ |/| | | | | This reverts commit 25a148fa196b944b3f134527da87e43d88c066f9.
* | cygwin: stdenvFlorian Friesdorf2015-05-28
| |
* | Refactor mkFlag / shouldUsePkg into the nixpkgs librariesWilliam A. Kennington III2015-05-22
|/
* Merge 'master' into stagingVladimír Čunát2015-04-26
|\ | | | | | | (relatively simple conflicts)
| * Fix some platformsWilliam A. Kennington III2015-04-25
| |
* | Merge branch 'master' into stagingWilliam A. Kennington III2015-03-27
|\|
| * Set more precise meta.position for Haskell packagesEelco Dolstra2015-03-27
| |
| * mkDerivation: Use function argumentsEelco Dolstra2015-03-27
| |
* | stdenv: Substitute correctly chmods instead of .tmp which never existsWilliam A. Kennington III2015-03-26
| |
* | substitute: Fix "No such file or directory" message on DarwinEelco Dolstra2015-03-24
|/ | | | | On Darwin, "chmod -f" does not suppress an error message if the file doesn't exist. So just check if the file exists.
* remove stdenv.isBSDcodyopel2015-02-24
|
* Merge branch 'master' into stagingVladimír Čunát2015-01-31
|\ | | | | | | | | | | | | Conflicts (relatively simple): pkgs/applications/audio/spotify/default.nix pkgs/build-support/cc-wrapper/default.nix pkgs/development/compilers/cryptol/1.8.x.nix
| * stdenv: fix eval - the returnWout Mertens2015-01-29
| |
| * stdenv: fix evalWout Mertens2015-01-29
| | | | | | silly :poop: