diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-08-30 14:13:32 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-08-30 14:13:32 +0300 |
commit | d9bba529fca41dcb36735121c2dc3d68dd4ffacb (patch) | |
tree | d125b53946f549950d3b914dc420d7c0718f79e5 | |
parent | 841fe2df5ea8b3342454b250e69efeed494be869 (diff) | |
download | guix-d9bba529fca41dcb36735121c2dc3d68dd4ffacb.tar guix-d9bba529fca41dcb36735121c2dc3d68dd4ffacb.tar.gz |
gnu: vowpal-wabbit: Install more headers.
* gnu/packages/machine-learning.scm (vowpal-wabbit)[arguments]: Add
'install-more-headers phase to install more headers.
-rw-r--r-- | gnu/packages/machine-learning.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 1f4c2e23ea..05646dd770 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1049,7 +1049,16 @@ the following advantages: (modify-phases %standard-phases (add-after 'unpack 'make-files-writable (lambda _ - (for-each make-file-writable (find-files "." ".*")) #t))))) + (for-each make-file-writable (find-files "." ".*")) #t)) + (add-after 'install 'install-more-headers + (lambda* (#:key outputs #:allow-other-keys) + (for-each + (lambda (file) + (install-file file (string-append + (assoc-ref outputs "out") + "/include/vowpalwabbit"))) + (find-files "vowpalwabbit" "\\.h$")) + #t))))) (build-system gnu-build-system) (home-page "https://github.com/JohnLangford/vowpal_wabbit") (synopsis "Fast machine learning library for online learning") |