diff options
author | Christopher Baines <mail@cbaines.net> | 2017-10-10 07:41:19 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-01-14 22:16:20 +0000 |
commit | 2c2ec3d04a36914390c7617bb9971fd840b40646 (patch) | |
tree | c43b0916327f9b65dadeb59e5758bac4796337c0 /gnu/packages/libedit.scm | |
parent | d9df4bf055f2bef8c2c428db34c5fa056bdeba73 (diff) | |
download | guix-patches-2c2ec3d04a36914390c7617bb9971fd840b40646.tar guix-patches-2c2ec3d04a36914390c7617bb9971fd840b40646.tar.gz |
ruby-build-system: Add a new wrap phase.
Wrap files in bin/ and sbin/ with the location of the gem itself and the
location of any other gems in use (GEM_PATH). This ensures that the bin files
will run with the right environment when executed.
It does however mean that native-inputs will also get wrapped up in any
binaries, which is not good, as it increases the size of the closure, and
risks this code being used at runtime.
* guix/build/ruby-build-system.scm (wrap): New procedure.
(%standard-phases): Add the wrap phase.
Diffstat (limited to 'gnu/packages/libedit.scm')
0 files changed, 0 insertions, 0 deletions