1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 03:51:53 +02:00

gnu: ruby-puma: Do not install mkmf.log file.

* gnu/packages/ruby.scm (ruby-puma) [arguments]: Add delete-mkmf.log phase.
This commit is contained in:
Maxim Cournoyer
2023-03-30 17:18:39 -04:00
parent e457f01a31
commit 4817758655
+6
View File
@@ -11595,6 +11595,12 @@ part of the Prawn PDF generator.")
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "bundle" "exec" "rake" "test"))))
(add-after 'install 'delete-mkmf.log
(lambda _
;; Rubygems installs build log files that embed volatile file
;; names (see:
;; https://github.com/rubygems/rubygems/issues/6259).
(for-each delete-file (find-files #$output "^mkmf\\.log$"))))
(add-before 'check 'disable-problematic-tests
(lambda _
(let-syntax ((skip-tests