From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNZIB-0000Mh-Ir for guix-patches@gnu.org; Wed, 21 Jun 2017 02:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNZI6-0002er-N5 for guix-patches@gnu.org; Wed, 21 Jun 2017 02:39:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNZI6-0002en-Jo for guix-patches@gnu.org; Wed, 21 Jun 2017 02:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dNZI6-0002bP-EE for guix-patches@gnu.org; Wed, 21 Jun 2017 02:39:02 -0400 Subject: [bug#27438] [PATCH 1/3] gnu: ruby-1.8: Fix search path specification. References: <0c3c92c6-05ca-bb36-2f24-69077033e91f@cbaines.net> In-Reply-To: <0c3c92c6-05ca-bb36-2f24-69077033e91f@cbaines.net> Resent-Message-ID: From: Christopher Baines Date: Wed, 21 Jun 2017 07:38:34 +0100 Message-Id: <20170621063836.840-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27438@debbugs.gnu.org * 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