summary refs log tree commit diff
path: root/gnu/packages/ncdu.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-10-10 07:41:19 +0100
committerChristopher Baines <mail@cbaines.net>2018-01-14 22:16:20 +0000
commit2c2ec3d04a36914390c7617bb9971fd840b40646 (patch)
treec43b0916327f9b65dadeb59e5758bac4796337c0 /gnu/packages/ncdu.scm
parentd9df4bf055f2bef8c2c428db34c5fa056bdeba73 (diff)
downloadguix-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/ncdu.scm')
0 files changed, 0 insertions, 0 deletions