diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-30 17:18:39 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-30 17:18:39 -0400 |
commit | 4817758655db9ac1689b09efb86ff89cef02f991 (patch) | |
tree | 13ba6693a294cccf9a87ea0ede28b0c82b3d942f /gnu/packages | |
parent | e457f01a3135e9a25a2d81db63536c62eed8c024 (diff) | |
download | guix-4817758655db9ac1689b09efb86ff89cef02f991.tar.gz |
gnu: ruby-puma: Do not install mkmf.log file.
* gnu/packages/ruby.scm (ruby-puma) [arguments]: Add delete-mkmf.log phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ruby.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6bf248f829..7871d09966 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -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 |