From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNZIB-0000Mg-It 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 1dNZI7-0002f1-4k for guix-patches@gnu.org; Wed, 21 Jun 2017 02:39:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNZI7-0002ex-20 for guix-patches@gnu.org; Wed, 21 Jun 2017 02:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dNZI6-0002bW-Re for guix-patches@gnu.org; Wed, 21 Jun 2017 02:39:02 -0400 Subject: [bug#27438] [PATCH 2/3] gnu: ruby-2.2: Fix search path specification. Resent-Message-ID: From: Christopher Baines Date: Wed, 21 Jun 2017 07:38:35 +0100 Message-Id: <20170621063836.840-2-mail@cbaines.net> In-Reply-To: <20170621063836.840-1-mail@cbaines.net> References: <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-2.2)[native-search-paths]: Specify the native search path, such that the version included in the path is 2.2, 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 d9eb93643..098024fc0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -134,7 +134,13 @@ a focus on simplicity and productivity.") "/ruby-" version ".tar.xz")) (sha256 (base32 - "0lyb7gnbbhs3a3v9grsjgbaixm20wxz6x3h0czyrxnj3cpp8lk13")))))) + "0lyb7gnbbhs3a3v9grsjgbaixm20wxz6x3h0czyrxnj3cpp8lk13")))) + (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-2.1 (package (inherit ruby) -- 2.13.1