guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 0cd824469e34a00bd6b44972d792aec2ccd96221
Author: Zheng Junjie <[email protected]>
AuthorDate: Wed Oct 7 23:07:06 2026 +0800

    gnu: ruby-3.4: Remove references to the toolchain.
    
    * gnu/packages/ruby.scm (ruby-3.4)[argument]: Add 
remove-toolchain-references phase.
---
 gnu/packages/ruby.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f688b57b3eb..04b63b5a447 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -200,6 +200,16 @@ a focus on simplicity and productivity.")
                                   "test/ruby/test_system.rb"
                                   "tool/rbinstall.rb")
                      (("/bin/sh") (which "sh")))))
+               (add-after 'install 'remove-toolchain-references
+                 (lambda _
+                   (delete-file
+                    (string-append
+                     #$output "/lib/ruby/gems/"
+                     #$(version-major+minor
+                        (package-version this-package))
+                     ".0"
+                     ;; This file refers to the complete path of binutils.
+                     "/gems/syslog-0.2.0/ext/syslog/mkmf.log"))))
                #$@(if (system-hurd?)
                       '((add-after 'unpack 'skip-tests
                           (lambda _

Reply via email to