about summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks
Commit message (Collapse)AuthorAge
* Merge branch 'master' into closure-sizeVladimír Čunát2016-04-10
|\ | | | | | | | | | | Comparison to master evaluations on Hydra: - 1255515 for nixos - 1255502 for nixpkgs
| * useOldCXXAbi: Change into a setup hookEelco Dolstra2016-04-01
| | | | | | | | Stdenv adapters considered weird.
* | Merge branch 'master' into closure-sizeVladimír Čunát2016-04-01
|\| | | | | | | | | Beware that stdenv doesn't build. It seems something more will be needed than just resolution of merge conflicts.
| * Merge remote-tracking branch 'origin/staging'Domen Kožar2016-03-27
| |\
| | * 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
| | | * glibc: Enable separate debug symbolsEelco Dolstra2016-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The importance of glibc makes it worthwhile to provide debug symbols. However, this revealed an issue with separateDebugInfo: it was indiscriminately adding --build-id to all ld invocations, while in fact it should only do that for final links. Glibc also uses non-final ("relocatable") links, leading to subsequent failure to apply a build ID ("Cannot create .note.gnu.build-id section, --build-id ignored"). So now ld-wrapper.sh only passes --build-id for final links.
| | | * separateDebugInfo: Compress debug sections at compile/link timeEelco Dolstra2016-02-28
| | | |
| | * | make-wrapper.sh: add an --unset argumentzimbatm2016-03-06
| | |/ | | | | | | | | | | | | `--set FOO ""` is not strictly equivalent to `--unset FOO`. In the former case the environment variable still exists with an empty string as a value.
| * / wrap-gapps-hook.sh: fix double inclusion guardPeter Simons2016-03-18
| |/ | | | | | | | | The simple "return" would not override the non-zero error code set by the preceding test command, therefore aborting scripts running with "set -e".
* | 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.
| * Don't try to apply patchelf to non-ELF binariesEelco Dolstra2016-02-18
| |
| * separateDebugInfo: Handle weird filenames properlyEelco Dolstra2016-02-18
| |
| * separateDebugInfo: Restore ELF checkEelco Dolstra2016-02-18
| |
* | Merge recent 'staging' into closure-sizeVladimír Čunát2016-02-03
|\| | | | | | | Let's get rid of those merge conflicts.
| * stdenv: fix set-source-date-epoch-to-latest (close #12602)zimbatm2016-01-29
| | | | | | | | | | | | | | | | | | | | | | In some cases the $sourceRoot is missing. Skip the hook instead of showing the following cryptic error: find: cannot search `': No such file or directory /nix/store/0p1afvl8jcpi6dvsq2n58i90w9c59vz1-set-source-date-epoch-to-latest.sh: line 12: [: : integer expression expected vcunat removed the warning; the hook will just skip silently in these cases. Perhaps someone can improve on it some time.
* | Merge branch 'staging' into closure-sizeVladimír Čunát2016-01-19
|\|
| * Merge branch 'master' into stagingVladimír Čunát2016-01-18
| |\
| | * separateDebugInfo: Create symlinks matching original binariesEelco Dolstra2016-01-15
| | | | | | | | | | | | | | | | | | | | | | | | For instance, a binary like libfoo.so will cause a symlink lib/debug/libfoo.so.debug -> .build-id/<build-ID>.debug to be created. This is primarily useful for use with eu-addr2line, if you know the name of a binary and the relative address, but not the build ID.
| * | set-source-date-epoch-to-latest.sh: Support DarwinEelco Dolstra2016-01-06
| | |
| * | 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.
* | stdenv/multiple-outputs.sh: small tweaksVladimír Čunát2016-01-12
| | | | | | | | | | | | - fix in silencing some moveToOutput messages - allow removing (developer) documentation even without defining outputs (note: some paths are auto-removed by default, e.g. gtk-doc and man3)
* | Merge branch 'master' into closure-sizeLuca Bruno2015-12-11
|\|
| * Fix patchShebangs on SmartOSDanny Wilson2015-11-16
| | | | | | | | Tail is very picky about the space after -c when compiled by Nix on Illumos (no idea why).
* | rename moveToOutput and propagatedBuildInputsLuca Bruno2015-12-02
| |
* | Merge staging into closure-sizeVladimír Čunát2015-11-20
|\| | | | | | | | | | | The most complex problems were from dealing with switches reverted in the meantime (gcc5, gmp6, ncurses6). It's likely that darwin is (still) broken nontrivially.
| * wrapGAppsHook: fix $gappsWrapperArgs as intendedVladimír Čunát2015-11-09
| | | | | | | | i.e. define it even if $dontWrapGApps is set, and document the intention.
| * wrapGAppsHook: avoid running multiple timesVladimír Čunát2015-11-09
| | | | | | | | /cc #10351 and @lethalman.
* | stdenv/multiple-outputs: add REMOVE target, use for docdevVladimír Čunát2015-10-28
| | | | | | | | | | | | Now any developer docs are removed by default, unless "docdev" is in $outputs or $outputDocdev is defined. Currently devdoc consists of just man3 and gtk-doc.
* | stdenv/multiple-outputs: autoremove empty directoriesVladimír Čunát2015-10-28
| | | | | | | | i.e. remove chains of empty dirs after moving contents out of them.
* | stdenv/multiple-outputs: mainly add $docdevVladimír Čunát2015-10-28
| | | | | | | | | | Packages often provide some developer documentation which is useless to typical users (e.g. man3 and gtk-doc).
* | stdenv/multiple-outputs: Fix checking of propagatedOutputsTuomas Tynkkynen2015-10-03
| | | | | | | | | | | | | | '[[ ! -v "$propagatedOutputs" ]]' is incorrect and always evaluates to true. The correct form using double brackets would be '[[ ! -v propagatedOutputs ]]', but I strongly dislike '[[ ]]' due to the totally different quoting rules compared to everything else in bash.
* | stdenv/multiple-outputs: Guard greps with 'set +/-o pipefail'Tuomas Tynkkynen2015-10-03
| | | | | | | | | | This is required since #7524 is fixed ("stdenv: Errors in hooks (such as postUnpack) get ignored")
* | Merge commit staging+systemd into closure-sizeVladimír Čunát2015-10-03
|\| | | | | | | Many non-conflict problems weren't (fully) resolved in this commit yet.
| * Merge commit '2d464f75ed46869b5942c4b479772a0367b30608' into master.upstreamWilliam A. Kennington III2015-09-23
| |\ | | | | | | | | | | | | This is a partial commit from staging in an attempt to make merges smaller.
| | * Merge branch 'master' into stagingVladimír Čunát2015-09-17
| | |\
| | * | patchShebangs: Ignore outputs that don't exist yetEelco Dolstra2015-09-17
| | | |
| * | | separateDebugInfo: one more commentVladimír Čunát2015-09-23
| | | |
| * | | separateDebugInfo: fix typo in commentVladimír Čunát2015-09-22
| | | |
| * | | separateDebugInfo: compress it by defaultVladimír Čunát2015-09-22
| | | | | | | | | | | | | | | | | | | | Using zlib should be cheap enough and save lots of HDD space. Case study (glib): 11 MB -> 4 MB.
| * | | 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.
| * mass rewrite of find parameters to cross-platform styleVladimír Čunát2015-09-06
| | | | | | | | | | | | | | | | | | | | Fixes #9044, close #9667. Thanks to @taku0 for suggesting this solution. Now we have no modes starting with `/` or `+`. Rewrite the `-perm` parameters of find: - completely safe: rewrite `/0100` and `+100` to `-0100`, - slightly semantics-changing: rewrite `+111` to `-0100`. I cross-verified the `find` manual pages for Linux, Darwin, FreeBSD.
| * makeWrapper: accept `--argv0` flag (/cc #9562)Thomas Tuegel2015-09-01
| | | | | | | | | | | | | | | | By default `makeWrapper` will not set argv[0] (this is a reversion to the old default behavior). Based on the breakage we have seen from changing the default, this is what most people want. The `wrapProgram` function will send `--argv0 '"$0"'` to `makeWrapper`, i.e. it will continue to pass-through the argv[0] that the wrapper is called with.
| * makeWrapper: child process inherits argv[0]Thomas Tuegel2015-08-23
| |
| * Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-08-13
| |\
| | * wrapGAppsHook: fix a typoVladimír Čunát2015-08-12
| | | | | | | | | | | | | | | It would only matter in (some) multiple-output derivations. /cc @lethalman.
| * | Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-07-30
| |\|
| | * releaseTools.coverageAnalysis: Emit hydra-metricsEelco Dolstra2015-07-30
| | |
| | * wrapGAppsHook: populate GIO_EXTRA_MODULESLuca Bruno2015-07-30
| | |
| * | mass-replace deprecated usage of find -perm (Fixes #9044)Vladimír Čunát2015-07-30
| | | | | | | | | | | | | | | sed 's|-perm +0|-perm /0|g' It's a mass-rebuild due to usage in stdenv's default setup hooks.