From unknown Fri Jun 20 07:11:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71559 <71559@debbugs.gnu.org> To: bug#71559 <71559@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add ruby-3.3. Reply-To: bug#71559 <71559@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:11:00 +0000 retitle 71559 [PATCH] gnu: Add ruby-3.3. reassign 71559 guix-patches submitter 71559 Andreas Enge severity 71559 normal tag 71559 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 14 13:25:09 2024 Received: (at submit) by debbugs.gnu.org; 14 Jun 2024 17:25:09 +0000 Received: from localhost ([127.0.0.1]:40873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIAfk-0003Yu-N8 for submit@debbugs.gnu.org; Fri, 14 Jun 2024 13:25:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:45612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIAfi-0003Ym-U4 for submit@debbugs.gnu.org; Fri, 14 Jun 2024 13:25:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIAfi-0004de-D7 for guix-patches@gnu.org; Fri, 14 Jun 2024 13:25:06 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIAfg-0005ky-8k for guix-patches@gnu.org; Fri, 14 Jun 2024 13:25:06 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 00296E52; Fri, 14 Jun 2024 19:25:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id irZS259xoLVc; Fri, 14 Jun 2024 19:25:00 +0200 (CEST) Received: from jurong.lan (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2ACD626E; Fri, 14 Jun 2024 19:25:00 +0200 (CEST) From: Andreas Enge To: guix-patches@gnu.org Subject: [PATCH] gnu: Add ruby-3.3. Date: Fri, 14 Jun 2024 19:24:45 +0200 Message-ID: <28cc7c5071b82b981d2a8c07cd283827baff0716.1718385885.git.andreas@enge.fr> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 X-Debbugs-Cc: Christopher Baines Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Andreas Enge X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/ruby.scm (ruby-3.3): New variable. Change-Id: Ie26b97fdcea75e7eddabb2dba3fc91882be41b34 --- gnu/packages/ruby.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 5c1e666bb0..9547481caf 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -292,6 +292,20 @@ (define-public ruby-3.2 (modify-inputs (package-inputs ruby-3.1) (prepend libyaml))))) +(define-public ruby-3.3 + (package + (inherit ruby-3.2) + (version "3.3.3") + (source + (origin + (method url-fetch) + (uri (string-append "http://cache.ruby-lang.org/pub/ruby/" + (version-major+minor version) + "/ruby-" version ".tar.xz")) + (sha256 + (base32 + "07pwf3zkf7idl95agfjbv2lvamcp0spp0znqp9arb71ri19rkh43")))))) + (define-public ruby ruby-3.1) (define-public mruby base-commit: 7770e4140cddd5dc9c9879cb2bfcbd6cd4de59a0 -- 2.45.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 16 06:28:03 2024 Received: (at 71559-done) by debbugs.gnu.org; 16 Jun 2024 10:28:03 +0000 Received: from localhost ([127.0.0.1]:44420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIn7C-0004Ha-MQ for submit@debbugs.gnu.org; Sun, 16 Jun 2024 06:28:02 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:33852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIn7A-0004Gz-Se for 71559-done@debbugs.gnu.org; Sun, 16 Jun 2024 06:28:01 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id EC07E64F; Sun, 16 Jun 2024 12:27:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3b23regUG6nL; Sun, 16 Jun 2024 12:27:23 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 42140E8; Sun, 16 Jun 2024 12:27:23 +0200 (CEST) Date: Sun, 16 Jun 2024 12:27:21 +0200 From: Andreas Enge To: Daniel Littlewood Subject: Re: Ruby without RVM - what to do if the version I want is missing? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71559-done Cc: 71559-done@debbugs.gnu.org, Christopher Baines , help-guix X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Am Fri, Jun 14, 2024 at 07:36:07PM +0200 schrieb Andreas Enge: > (define-public ruby-3.3 > (package > (inherit ruby-3.2) > (version "3.3.3") > (source > (origin > (method url-fetch) > (uri (string-append "http://cache.ruby-lang.org/pub/ruby/" > (version-major+minor version) > "/ruby-" version ".tar.xz")) > (sha256 > (base32 > "07pwf3zkf7idl95agfjbv2lvamcp0spp0znqp9arb71ri19rkh43")))))) > I have sent this patch, see > https://issues.guix.gnu.org/71559 QA has given the green light, so I have pushed this new version to master. You should see it after a "guix pull". Andreas From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 03:55:35 2024 Received: (at 71559-done) by debbugs.gnu.org; 18 Jun 2024 07:55:35 +0000 Received: from localhost ([127.0.0.1]:41384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJTgk-0008HE-OR for submit@debbugs.gnu.org; Tue, 18 Jun 2024 03:55:35 -0400 Received: from mail-lj1-f179.google.com ([209.85.208.179]:47400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJHkQ-0000zs-AL for 71559-done@debbugs.gnu.org; Mon, 17 Jun 2024 15:10:36 -0400 Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2eaafda3b5cso58592441fa.3 for <71559-done@debbugs.gnu.org>; Mon, 17 Jun 2024 12:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718651366; x=1719256166; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yOGdiMHwIrCIsWgmnk31sh0y4n24Aed30nozJr1OEuY=; b=Ju0iklQzxaWI11edYR+bvYo9WabRINNGmYSvLZ+Aj4bW+/CFH+pwiAuq908xSyzcSt f3NWu+TNtjeVHl3ybZc9C0q2l0Y9uIEdYJc3OCZVFM3ubpwoyXgvsj0liToCJZ31zvfA flCwTqlSBGy0xviMWcGowx5U5Bq9AR6ATwA7oqyXvZPwKGEGp/eJe3A+1RfkJbXVx2Jf oNCXQthCQlBv32vUKhoEVE4vcPPLh2SNdDg7ZaTKSGj24skFrcGAMeq9kSkM6TbWkMqC vBHkS3Q/w+2L3djVhzHRg03+YYRC6xA1D6uPPu3M9csuhAqHMS80hgag+ZD6fVIBxFUO Kwnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718651366; x=1719256166; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yOGdiMHwIrCIsWgmnk31sh0y4n24Aed30nozJr1OEuY=; b=XAvXx5R87b7BFwoiwz5DFschVF2sPf79F3Br8vyUergkBRqY0RHoRq7qAhbI/WSiMT d/E6XAg+AP+ESEH7g9Lgo3JEG/e400Qu0GrZqQvzDUgoQACOzO5EEO38nlMp04udJ3GD 85cG/3TwTOu7bb2j5w5VWRfDf0uiMZSUWHnq4NZwLCpYJb6v6rYvOuvFLyIrEGw7xc9z qkdMcz2J7swF4SvZMtXPKSoIt3Bh4l9PviFY2DAQe8XTomiWx07Ud+K2XU8Egd2c6ROn VM7/OIwcvCM0p/j3YcUF+CZuPYmXnEOl+DM+HyAxiaOkW/HEfe6tZr0tq/uWsWb5FOSO GdHg== X-Forwarded-Encrypted: i=1; AJvYcCWrV4hQMYNi8tNOsRj72hSj88QXrCDx7Xr0ZAGQRTyuXBuF43/dV5Z9F8twYYo8RMIbvQtkWh7vxY1cAuEzuoL1OaZ7H1baUveOHg== X-Gm-Message-State: AOJu0YyCe/BwhYbICrmkAgDKYyzk2RAMAXYRMB7/6lKydjuQQBS5SaL8 pun+dhT7o4vUa4oUXCZsRZTBNGRZ0Afk63WsgCrCoOLzFPDMxgHV3EbJZqyJ2fjBPj4pnYdUpyB ZrbUi1yMFzUlqzRJlRoboCwQ4J4g= X-Google-Smtp-Source: AGHT+IH3eecpSf6KpmNSsOzF/QTAt3r14g576Rh80WdVlhGUzh+h1aSpZG62R40ioIhLZyi0pZWABSq2W/yFy5I4e0g= X-Received: by 2002:a2e:95cf:0:b0:2eb:850d:a53d with SMTP id 38308e7fff4ca-2ec0e46e67fmr67805131fa.16.1718651365800; Mon, 17 Jun 2024 12:09:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Littlewood Date: Mon, 17 Jun 2024 20:09:13 +0100 Message-ID: Subject: Re: Ruby without RVM - what to do if the version I want is missing? To: Andreas Enge Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71559-done X-Mailman-Approved-At: Tue, 18 Jun 2024 03:55:34 -0400 Cc: 71559-done@debbugs.gnu.org, Christopher Baines , help-guix X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, thank you all very much for the help, Thank you Andreas for your patch. I wasn't sure quite how to use it at first, but after some looking I found out I could put it into a local channel. So I made a file ~/my-channel/ruby.scm with contents (define-module (ruby) #:use-module (guix packages) #:use-module (guix licenses) #:use-module (guix download) #:use-module (guix utils) #:use-modules (gnu packages ruby)) That worked well. guix shell ruby@3.3 # fails as expected guix shell -L ~/guix-scout ruby@3.3 # works ruby --version ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [x86_64-linux] However I wanted to have a more sophisticated guix shell, called from a file. Something like what Remco suggested, but this was just what I could cobble together and it isn't exactly the same. The file guix.scm contains (by the way, why is the use-modules syntax different here?) (use-modules (guix packages) (guix download) (guix utils) (guix build-system ruby) (ruby)) (package (name "my-project") (version "1.0.0") (license #f) (source #f) (build-system ruby-build-system) ; "no build system" was not an option (propagated-inputs (list ruby-3.3)) (synopsis "") (description "") (homepage "")) Now I become confused: guix shell -L ~/my-channel -D -f guix.scm # works, as expected ruby --version ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux] # this is *not* the host ruby: exit ruby --version ruby 2.7.8p225 (2023-03-30 revision 1fd455848) [x86_64-linux] I don't know where it is getting 3.1.4 from! I have not written it anywhere. I do recognise it - I think I have previously installed it at some point. But I don't know where it's being pulled from - some cache? It looks like Remco's approach using manifests should work, but I wonder: does anyone know what's wrong with my guix.scm? Best wishes, Dan On Sun, Jun 16, 2024 at 11:27=E2=80=AFAM Andreas Enge wro= te: > > Hello, > > Am Fri, Jun 14, 2024 at 07:36:07PM +0200 schrieb Andreas Enge: > > (define-public ruby-3.3 > > (package > > (inherit ruby-3.2) > > (version "3.3.3") > > (source > > (origin > > (method url-fetch) > > (uri (string-append "http://cache.ruby-lang.org/pub/ruby/" > > (version-major+minor version) > > "/ruby-" version ".tar.xz")) > > (sha256 > > (base32 > > "07pwf3zkf7idl95agfjbv2lvamcp0spp0znqp9arb71ri19rkh43")))))) > > I have sent this patch, see > > https://issues.guix.gnu.org/71559 > > QA has given the green light, so I have pushed this new version to master= . > You should see it after a "guix pull". > > Andreas > From unknown Fri Jun 20 07:11:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 16 Jul 2024 11:24:18 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator