GNU bug report logs -
#27438
[PATCH] Specify native search path for all ruby packages
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Wed, 21 Jun 2017 06:37:01 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 27438 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby.scm (ruby-1.8)[native-search-paths]: Specify the native
search path, such that the version included in the path is 1.8, rather than
the inherited version.
---
gnu/packages/ruby.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7680f4eae..d9eb93643 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -197,7 +197,13 @@ a focus on simplicity and productivity.")
"lib/mkmf.rb"
"process.c")
(("/bin/sh") (which "sh"))))
- %standard-phases)))))
+ %standard-phases)))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "GEM_PATH")
+ (files (list (string-append "lib/ruby/gems/"
+ (version-major+minor version)
+ ".0"))))))))
(define-public ruby-hoe
(package
--
2.13.1
This bug report was last modified 7 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.