3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: discrover: Add missing includes.

* gnu/packages/bioinformatics.scm (discrover)[arguments]: Add build phase
"add-missing-includes" to include "random" headers.
This commit is contained in:
Ricardo Wurmus 2017-03-30 10:23:40 +02:00
parent 0d2c0562b8
commit fa702e1a29
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2133,7 +2133,19 @@ data and settings.")
(base32
"0rah9ja4m0rl5mldd6vag9rwrivw1zrqxssfq8qx64m7961fp68k"))))
(build-system cmake-build-system)
(arguments `(#:tests? #f)) ; there are no tests
(arguments
`(#:tests? #f ; there are no tests
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'add-missing-includes
(lambda _
(substitute* "src/executioninformation.hpp"
(("#define EXECUTIONINFORMATION_HPP" line)
(string-append line "\n#include <random>")))
(substitute* "src/plasma/fasta.hpp"
(("#define FASTA_HPP" line)
(string-append line "\n#include <random>")))
#t)))))
(inputs
`(("boost" ,boost)
("cairo" ,cairo)))