3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/setup-hooks
zimbatm 48a5bb703d stdenv: fix set-source-date-epoch-to-latest (close #12602)
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.
2016-01-29 12:03:48 +01:00
..
autoreconf.sh autoreconf may need gettext 2014-12-22 20:20:00 +00:00
compress-man-pages.sh Remove addHook 2014-08-09 12:45:53 +02:00
enable-coverage-instrumentation.sh Move generation of coverage reports from nixos/lib/testing to releaseTools 2014-03-03 13:57:08 +01:00
find-xml-catalogs.sh Move finding XML catalogs into a separate setup hook 2014-11-25 16:23:48 +01:00
fix-darwin-dylib-names.sh fix-darwin-dylib-names: Fix all outputs 2015-03-24 16:28:20 +01:00
keep-build-tree.sh Move generation of coverage reports from nixos/lib/testing to releaseTools 2014-03-03 13:57:08 +01:00
make-coverage-analysis-report.sh releaseTools.coverageAnalysis: Emit hydra-metrics 2015-07-30 18:06:33 +02:00
make-wrapper.sh makeWrapper: accept --argv0 flag (/cc #9562) 2015-09-01 13:27:12 +02:00
move-docs.sh move-docs.sh: Handle share/gtk-doc 2015-07-26 13:35:49 +02:00
move-lib64.sh stdenv lib64-moving: fail instead of overwriting 2014-11-17 11:27:38 +01:00
move-sbin.sh Automatically move stuff in lib64 to lib 2014-10-07 15:04:13 +02:00
patch-shebangs.sh Fix patchShebangs on SmartOS 2015-11-16 17:20:14 +01:00
scatter_output.sh Don't hardcode shell, use $SHELL instead 2014-05-26 14:48:39 +01:00
separate-debug-info.sh separateDebugInfo: Create symlinks matching original binaries 2016-01-15 16:16:11 +01:00
set-java-classpath.sh Cleanup: Use += to append to envHooks 2014-08-09 12:47:05 +02:00
set-source-date-epoch-to-latest.sh stdenv: fix set-source-date-epoch-to-latest (close #12602) 2016-01-29 12:03:48 +01:00
strip.sh Remove addHook 2014-08-09 12:45:53 +02:00
wrap-gapps-hook.sh wrapGAppsHook: fix $gappsWrapperArgs as intended 2015-11-09 15:40:20 +01:00