diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-06-04 22:54:40 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-06-04 22:54:40 +0200 |
commit | de6f6efd737e941aa7d6f77032525ea757b2909d (patch) | |
tree | 98c8231de03eae123077f35c928f0d1c7760f6c7 /gnu/packages | |
parent | 0899352f970b321c22ff971bb674cb4a131587c9 (diff) | |
download | guix-de6f6efd737e941aa7d6f77032525ea757b2909d.tar guix-de6f6efd737e941aa7d6f77032525ea757b2909d.tar.gz |
gnu: ruby-ae: Fix build failure with ruby@2.4.0.
* gnu/packages/ruby.scm (ruby-ae)[arguments]<#:phases>: Add 'replace-broken-symlink'.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ruby.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 868188119c..6691095e55 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3788,7 +3788,19 @@ requirement specifications systems like Cucumber.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ (zero? (system* "qed"))))))) + (lambda _ (zero? (system* "qed")))) + (add-before 'validate-runpath 'replace-broken-symlink + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (file (string-append out "/lib/ruby/gems/" + ,(package-version ruby) + "/gems/ae-" ,version + "/lib/ae.yml"))) + ;; XXX: This symlink is broken since ruby 2.4. + ;; https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00034.html + (delete-file file) + (symlink "../.index" file) + #t)))))) (propagated-inputs `(("ruby-ansi" ,ruby-ansi))) (native-inputs |