summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks
Commit message (Collapse)AuthorAge
* 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
|
* 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 '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.
* 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).
* 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.
* 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.
* | Merge branch 'master.upstream' into staging.upstreamWilliam A. Kennington III2015-07-29
|\|
| * wrapGAppsHook: build hook for wrapping GTK/GNOME appsLuca Bruno2015-07-29
| |
* | move-docs.sh: Handle share/gtk-docEelco Dolstra2015-07-26
|/
* fix-darwin-dylib-names: Fix all outputsEelco Dolstra2015-03-24
| | | | This fixes the install names of the Boost dylibs on Darwin.
* Revert "Introduce patchShebangsPhase ran in preConfigurePhases"Domen Kožar2015-01-08
| | | | | | This reverts commit 512fbb280f72980e84230b72b631258df1755919. See #5368
* Introduce patchShebangsPhase ran in preConfigurePhasesDomen Kožar2015-01-02
| | | | | (cherry picked from commit 91c7e8747af1fdc2a70cd98594ccbb12a5c6902d) Signed-off-by: Domen Kožar <domen@dev.si>
* autoreconf may need gettextIgor Pashev2014-12-22
| | | | E. g. for AC_LIB_PREFIX
* Move finding XML catalogs into a separate setup hookEelco Dolstra2014-11-25
| | | | | | | | This is because libxml/libxslt are not the only implementations that respect $XML_CATALOG_FILES. Also, look in share/xml for catalogs (in addition to the now-deprecated xml/dtd and xml/xsl).
* stdenv lib64-moving: fail instead of overwritingVladimír Čunát2014-11-17
| | | | | Silent overwriting is dangerous and it bit us straightaway on gcc_multi. https://github.com/NixOS/nixpkgs/commit/51f1b4ec48d5
* Merge remote-tracking branch 'origin/staging' into darwin-clang-stdenvEelco Dolstra2014-10-09
|\ | | | | | | | | Conflicts: pkgs/tools/security/gnupg/default.nix
| * Automatically move stuff in lib64 to libEelco Dolstra2014-10-07
| |
| * Automatically move programs in sbin to binEelco Dolstra2014-10-07
| | | | | | | | | | | | | | This should fix the OpenJDK build, which was failing because paxctl is in sbin and therefore not automatically added to $PATH. http://hydra.nixos.org/build/15658346
* | fixDarwinDylibNames: Use new hook mechanismEelco Dolstra2014-09-24
|/
* Move share/{man,info,doc} to the corresponding outputEelco Dolstra2014-08-09
|
* stdenv: Put moving docs to $out/share in a separate setup hookEelco Dolstra2014-08-09
|
* Cleanup: Use += to append to envHooksEelco Dolstra2014-08-09
|
* Remove addHookEelco Dolstra2014-08-09
| | | | | | | | | | Just use bash arrays directly. I.e. addHook preConfigure myPreConfigure is now preConfigureHooks+=(myPreConfigure)
* Drop redundant spaceEelco Dolstra2014-08-09
|
* Factor out fixup phase stuff into separate setup hooksEelco Dolstra2014-08-09
|
* Don't hardcode shell, use $SHELL insteadMaxim Ivanov2014-05-26
|
* Scatter output hookMaxim Ivanov2014-05-06
| | | | | | | | | | This hook allows to scatter files in $out to multiple outputs. For "bin" and "doc" outputs there are prefefined default masks, but they can be overriden by setting files_<outname>, for example: files_bin = [ "/bin/*" "/lib/libexec/" ]; To make an effect hook must be specified in buildInputs.
* Move generation of coverage reports from nixos/lib/testing to releaseToolsEelco Dolstra2014-03-03
| | | | Also, turn some stdenv adapters into setup hooks.