This is a bit experimental. There is some description of the motivation behind this approach, as well as the downsides in the commit messages. I don't know how to wrap binaries with the GEM_PATH, but somehow excluding inputs specified as native-inputs, so I'd be very interested if anyone has ideas about this. Christopher Baines (3): ruby-build-system: Add wrap-ruby-program. ruby-build-system: Add a new wrap phase. gnu: Remove redundant wrapping from packages using ruby-build-system. gnu/packages/databases.scm | 13 +--- gnu/packages/ruby.scm | 18 +----- guix/build/ruby-build-system.scm | 131 ++++++++++++++++++++++++++++++++++++++- 3 files changed, 133 insertions(+), 29 deletions(-)