summary refs log tree commit diff
path: root/pkgs/stdenv
Commit message (Collapse)AuthorAge
* setup.sh: rewrite stripHashLily Ballard2019-11-12
| | | | | | | | Rewrite the `stripHash` helper function with 2 differences: * Paths starting with `--` will no longer produce an error. * Use Bash string manipulation instead of shelling out to `grep` and `cut`. This should be faster.
* stdenv: Don't unset propagated*DepFiles before main phasesJohn Ericson2019-11-05
| | | | | | | | | A bunch of stdenv-internal variables were deleted in 1601a7fcce389ae3f1b1b36676fd5545035566af, but these are needed in the fixup phase, whereas the rest are just needed for the initial work (findInputs, etc) before the user phases. CC @matthewbauer
* Merge pull request #69603 from matthewbauer/unset-unused-setup-varMatthew Bauer2019-11-05
|\ | | | | Unset unused variables in setup.sh
| * generic/setup.sh: Unset locally defined variablesMatthew Bauer2019-09-26
| | | | | | | | | | | | setup.sh adds a bunch of variables that only it needs. To avoid polluting environments, we should unset these as soon as we are done with them.
* | Merge staging-next into stagingFrederik Rietdijk2019-11-05
|\ \
| * | Revert "stdenv/check-meta: getEnv if the attribute is unset (#72376)" (#72752)Dmitry Kalinkin2019-11-03
| | | | | | | | | This reverts commit 71184f8e157672789602d3f28bdd3c8079800687.
| * | stdenv/check-meta: getEnv if the attribute is unset (#72376)zimbatm2019-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two issues: * builtins.getEnv was called deep into the nixpkgs tree making it hard to discover. This is solved by moving the call into pkgs/top-level/impure.nix * when the config was explicitly set by the user to false, it would still try and load the environment variable. This meant that it was not possible to guarantee the same outcome on two different systems.
| * | Merge pull request #72070 from graham33/fix/license_listMatthew Bauer2019-11-03
| |\ \ | | | | | | | | Fix handling of lists in whitelistedLicenses and blacklistedLicenses
| | * | Fix handling of lists in whitelistedLicenses and blacklistedLicensesGraham Bennett2019-10-27
| | | | | | | | | | | | | | | | | | | | | | | | A package's meta.license can either be a single license or a list. The code to check config.whitelistedLicenses and config.blackListedLicenses wasn't handling this, nor was the showLicense function.
| * | | make-bootstrap-tools: use 'extreme' option to reduce size but not costWill Dietz2019-11-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently this option trades compression time for size, and explicitly does so without increasing resources needed in decomp. Doesn't make tarball creation unbearable, so add it to options!
| * | | binutils: offer "for bootstrap" variant that's less.. feature-completeWill Dietz2019-11-03
| | | |
| * | | gcc7: make building w/LTO support optional, don't use in bootstrap toolsWill Dietz2019-11-03
| |/ /
* | | stdenv: Don't stop `set -u`-ingJohn Ericson2019-11-01
| | | | | | | | | | | | | | | | | | Before, we very carefully unapplied and reapplied `set -u` so the rest of Nixpkgs could continue to not fail on undefined variables. Let's rip off the band-aid.
* | | treewide: Make still dont* Variables are optional in most casesJohn Ericson2019-11-01
|/ / | | | | | | | | | | | | | | | | | | Go beyond the obvious setup hooks now, with a bit of sed, with a skipped case: - cc-wrapper's `dontlink`, because it already is handled. Also, in nix files escaping was manually added. EMP
* | Merge pull request #69028 from matthewbauer/remove-iselfexec-iselfdynMatthew Bauer2019-09-20
|\ \ | | | | | | Revert "setup.sh introduce isELFExec, isELFDyn"
| * | Revert "setup.sh introduce isELFExec, isELFDyn"Matthew Bauer2019-09-18
| | | | | | | | | | | | | | | | | | | | | This reverts commit e1b80a5a99a3013c6556ec2e2e73ef6ca8e8b80b. This is broken in PIE (#68513). Best to not keep it in until something else starts using it.
* | | Merge remote-tracking branch 'origin/master' into stagingMatthew Bauer2019-09-20
|\ \ \ | | |/ | |/|
| * | stdenv/adapters.nix: remove static from makeStaticLibrariesMatthew Bauer2019-09-19
| |/ | | | | | | | | | | | | | | This logic should be in the pkgs/top-level/static.nix. We don’t want to pollute Nixpkgs with =if stdenv.static=. Also, "static" is not descriptive. We have two types of static stdenvs, ‘makeStaticLibaries’ and ‘makeStaticBinaries’. We shouldn’t rely on a static boolean like this.
* | setup.sh: avoid subshells: iterating a fileAlbert Safin2019-09-20
| |
* | setup.sh: avoid subshells: type -t in _callImplicitHookAlbert Safin2019-09-20
| |
* | setup.sh: avoid subshells: mapOffsetAlbert Safin2019-09-20
| |
* | setup.sh: avoid subshells: type -tAlbert Safin2019-09-20
| |
* | setup.sh: avoid subshells: shopt -po nounsetAlbert Safin2019-09-19
|/
* Merge branch 'master' into stagingVladimír Čunát2019-09-02
|\
| * Merge remote-tracking branch 'upstream/master' into feature/js-unknown-ghcjsJohn Ericson2019-09-02
| |\
| * | Add support for `js-unknown-ghcjs`Moritz Angermann2019-09-02
| | | | | | | | | | | | This adds enough logic to nixpkgs to support the `js-unknown-ghcjs` triple.
* | | treewide: remove redundant recvolth2019-08-28
| | |
* | | Merge staging-next into stagingFrederik Rietdijk2019-08-28
|\ \ \ | | |/ | |/|
| * | Merge pull request #66657 from danbst/pgpackages-fixesDanylo Hlynskyi2019-08-18
| |\ \ | | | | | | | | Postgresql plugins fixes
| | * | stdenv/check-meta: construct name from pname and version if name unavailabledanbst2019-08-15
| | | |
* | | | treewide: remove redundant quotesvolth2019-08-26
| | | |
* | | | Merge pull request #66725 from flokli/wrapqtappshook-execFlorian Klink2019-08-18
|\ \ \ \ | |/ / / |/| | | stdenv: add isELFExec, isELFDyn, fix wrappers
| * | | setup.sh introduce isELFExec, isELFDynFlorian Klink2019-08-17
| |/ / | | | | | | | | | | | | | | | | | | | | | These can be used to determine whether a ELF file with ELF header is an executable or shared library. We can't implement it in pure bash, as bash has problems with null bytes.
* | | Merge pull request #65484 from arcnmx/pr-stdenv-cmake-crossMatthew Bauer2019-08-14
|\ \ \ | |/ / |/| | stdenv: correct cross CMAKE_SYSTEM_NAME
| * | stdenv: correct cross CMAKE_SYSTEM_NAMEarcnmx2019-07-27
| | | | | | | | | | | | | | | | | | | | | As described in cmake cross instructions, CMAKE_SYSTEM_NAME should be set to "Generic" if there is no applicable OS: https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/CrossCompiling#setting-up-the-system-and-toolchain
* | | Merge master into staging-nextFrederik Rietdijk2019-08-01
|\ \ \
| * | | pkgsStatic: propagate all buildInputsTobias Mayer2019-07-24
| | | |
| * | | Signal static build option in makeStaticLibrariesTobias Mayer2019-07-21
| |/ / | | | | | | | | | | | | This flag can replace the extra static parameter to packages that don't work automatically with this adapter.
* / / stdenv: MACOSX_DEPLOYMENT_TARGET 10.10 -> 10.12Daiderd Jordan2019-07-08
|/ /
* | setup.sh: add dontUnpackworldofpeace2019-07-01
| |
* | setup.sh: add dontConfigureworldofpeace2019-07-01
| | | | | | | | | | There's already 21 occurences of this and I've expected this to exist without knowing it had no affect for a while.
* | treewide: remove unused variables (#63177)volth2019-06-16
| | | | | | | | | | | | * treewide: remove unused variables * making ofborg happy
* | Merge branch 'master' into staging-nextVladimír Čunát2019-06-05
|\ \ | | | | | | | | | Hydra nixpkgs: ?compare=1523575
| * \ Merge pull request #60349 from matthewbauer/fix-60345Matthew Bauer2019-06-04
| |\ \ | | | | | | | | check-meta: use system tuple in platforms
| | * | check-meta: use system tuple in platformsMatthew Bauer2019-04-30
| | | | | | | | | | | | | | | | Fixes #60345
* | | | Merge branch 'staging-next' into stagingVladimír Čunát2019-05-26
|\| | |
| * | | Merge pull request #60406 from JohnAZoidberg/remove-isnullRobin Gloster2019-05-18
| |\ \ \ | | | | | | | | | | treewide: Remove usage of isNull
| | * | | treewide: Remove usage of isNullDaniel Schaefer2019-04-29
| | | | | | | | | | | | | | | | | | | | isNull "is deprecated; just write e == null instead" says the Nix manual
* | | | | Merge #61179: stdenv, cacert: $NIX_SSL_CERT_FILE changesVladimír Čunát2019-05-19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ... into staging
| * | | | | stdenv: also override cert files in pure nix-shellVladimír Čunát2019-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That's very much consistent with the spirit of nix-shell --pure BTW, nix 1.x shells will be always treated as pure; in that version detection isn't possible. https://github.com/NixOS/nix/commit/1bffd83e1a9c