mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05: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:
parent
0d2c0562b8
commit
fa702e1a29
1 changed files with 13 additions and 1 deletions
|
@ -2133,7 +2133,19 @@ (define-public discrover
|
||||||
(base32
|
(base32
|
||||||
"0rah9ja4m0rl5mldd6vag9rwrivw1zrqxssfq8qx64m7961fp68k"))))
|
"0rah9ja4m0rl5mldd6vag9rwrivw1zrqxssfq8qx64m7961fp68k"))))
|
||||||
(build-system cmake-build-system)
|
(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
|
(inputs
|
||||||
`(("boost" ,boost)
|
`(("boost" ,boost)
|
||||||
("cairo" ,cairo)))
|
("cairo" ,cairo)))
|
||||||
|
|
Loading…
Reference in a new issue