nixpkgs/pkgs/build-support/setup-hooks
Taahir Ahmed 8b9f153bb9 wrapGAppsHook: Correct wrapProgram invocations
This change fixes several defects in the way `wrapGAppsHook` selected
the executable to wrap.

Previously, it would wrap any top-level files in the target `/bin` and
`/libexec` directories, including directories and non-executable
files.  In addition, it failed to wrap files in subdirectories.

Now, it uses `find` to iterate over these directory hierarchies,
selecting only executable files for wrapping.
2017-04-24 10:56:53 -05:00
..
autoreconf.sh autoreconf may need gettext 2014-12-22 20:20:00 +00:00
compress-man-pages.sh compress-man-pages: skip compressed manpages 2017-02-27 20:03:45 +01: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
fix-darwin-frameworks.sh darwin: add setup-hook to fix CF references 2017-03-12 15:19:03 +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: quote paths 2017-03-16 15:16:33 +01: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
multiple-outputs.sh stdenv moveToOutput: move even broken symlinks 2016-11-26 12:32:15 +01:00
patch-shebangs.sh patchShebangs: quote variable assignment 2016-07-09 03:05:11 +03:00
separate-debug-info.sh setup-hooks: do not pass missing dirs to find (close #15405) 2016-05-22 12:08:01 +02: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 stripDirs: Silence annoying 'File format not recognized' errors 2017-03-08 14:25:06 -05:00
update-autotools-gnu-config-scripts.sh updateAutotoolsGnuConfigScriptsHook: Only fix files 2017-02-11 12:24:49 +02:00
use-old-cxx-abi.sh useOldCXXAbi: Change into a setup hook 2016-04-01 13:36:59 +02:00
win-dll-link.sh fix win-dll-link.sh setup hook (#20925) 2016-12-07 17:58:36 +01:00
wrap-gapps-hook.sh wrapGAppsHook: Correct wrapProgram invocations 2017-04-24 10:56:53 -05:00