guix-devel/guix/build
Christopher Baines d9df4bf055
ruby-build-system: Add wrap-ruby-program.
A modified copy of wrap-program from (guix build utils). The wrap-program
procedure doesn't work well for Ruby scripts, as it breaks using the -S flag
with ruby to execute the script, as when -S is passed to ruby, it expects the
script on the PATH to use ruby in the shebang, and not bash.

Therefore, to wrap the program, but keep the shebang as ruby, wrap it with a
ruby script instead.

wrap-ruby-program uses .real/foo rather than .foo-real, as this might be
neater. This procedure also includes a call to Gem.clear_paths to make it
possible to set the GEM_PATH through this method, and for it to take effect.

* gnu/build/ruby-build-system.scm (wrap-ruby-program): New procedure.
2018-01-14 22:16:15 +00:00
..
ant-build-system.scm guix: ant-build-system: Do not compress jars. 2017-12-15 00:00:34 +01:00
asdf-build-system.scm build-system/asdf: Handle tests defined in external systems. 2017-05-16 15:18:16 +02:00
bournish.scm bournish: 'ls' adjusts the column width depending on the entries. 2017-05-13 16:52:11 +02:00
cargo-build-system.scm
cmake-build-system.scm build-system/cmake: Add support for cross compilation. 2017-05-30 16:52:55 +02:00
compile.scm compile: Put an upper bound on the number of workers. 2017-11-20 23:42:55 +01:00
cvs.scm
download-nar.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
download.scm utils: Fix cond-expand for Guile 2.0. 2017-12-10 15:58:55 -06:00
dub-build-system.scm build: dub-build-system: Make builds reproducible. 2017-12-31 00:29:59 +01:00
emacs-build-system.scm emacs-build-system: Change how patch-el-files substitutes commands. 2017-10-15 19:02:44 +01:00
emacs-utils.scm
font-build-system.scm build: font: Support font collection files. 2017-05-31 23:24:41 +02:00
git.scm
glib-or-gtk-build-system.scm
gnu-build-system.scm build-system/gnu: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-06-11 22:52:23 +02:00
gnu-dist.scm
go-build-system.scm build-system/go: Don't let Go executables refer to the Go compiler. 2017-11-17 18:25:20 -05:00
graft.scm grafts: Clarify the status of the workaround for <http://bugs.gnu.org/24659>. 2017-11-14 16:38:02 -05:00
gremlin.scm
haskell-build-system.scm
hg.scm
java-utils.scm guix: Add java-utils. 2017-05-10 17:59:22 +02:00
lisp-utils.scm build-system/asdf: Handle tests defined in external systems. 2017-05-16 15:18:16 +02:00
make-bootstrap.scm
meson-build-system.scm build-system: Add 'meson-build-system'. 2017-09-16 18:07:00 +02:00
minify-build-system.scm build: Add minify build system. 2017-08-04 11:23:52 +02:00
ocaml-build-system.scm
perl-build-system.scm
profiles.scm Add semicolon in commands that set GUIX_PROFILE. 2017-11-20 18:43:10 +01:00
pull.scm compile: Fix VPATH builds. 2017-11-07 00:12:10 +01:00
python-build-system.scm
qt-utils.scm
r-build-system.scm
rpath.scm
ruby-build-system.scm ruby-build-system: Add wrap-ruby-program. 2018-01-14 22:16:15 +00:00
scons-build-system.scm build-system: Add scons-build-system. 2017-11-30 18:19:31 +05:30
store-copy.scm vm: Estimate the disk size by default. 2017-06-30 00:16:50 +02:00
svn.scm
syscalls.scm syscalls: Define 'input-flags' for 'tcgetattr' and friends. 2017-12-06 08:51:08 +01:00
texlive-build-system.scm build-system: texlive: Only make a union of directories. 2017-11-18 11:18:42 +01:00
union.scm union: Parametrize the symlink procedure . 2017-11-21 23:09:16 +01:00
utils.scm utils: Add helper for invoking programs. 2017-06-01 19:06:34 +02:00
waf-build-system.scm