summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-17 14:20:46 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-17 14:26:21 +0100
commitb809cc9addf27a2233e1e8888637122397b48eaa (patch)
tree593d601b9bf0ed237b79accd01b0f8d32d5e899d /gnu/packages
parent44157e9f3c238c8ffcc18c64a8bc95dbd20b70b4 (diff)
downloadguix-b809cc9addf27a2233e1e8888637122397b48eaa.tar.gz
gnu: ruby-unf-ext: Build extension.
* gnu/packages/ruby.scm (ruby-unf-ext)[arguments]: Add phase "build-ext"
  to build "unf_ext.so".
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 1bd3fe2c9a..a3eafb1f58 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2551,6 +2551,11 @@ including comments and whitespace.")
                (base32
                 "0ly2ms6c3irmbr1575ldyh52bz2v0lzzr2gagf0p526k12ld2n5b"))))
     (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'build 'build-ext
+           (lambda _ (zero? (system* "rake" "compile:unf_ext")))))))
     (native-inputs
      `(("bundler" ,bundler)
        ("ruby-rake-compiler" ,ruby-rake-compiler)