guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit daefa8700f44464dce8a6e5173123c258a58d763
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)[arguments]<#:phases>
{remove-toolchain-references}: New phase.
---
gnu/packages/ruby.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7fde947de14..028637b7069 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 _