diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-03-30 10:23:40 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-03-30 10:35:54 +0200 |
commit | fa702e1a2913c665973f9cc43e253168e6505d9e (patch) | |
tree | 45203023e9201a8d07769f0f5344b40d0e6b18f6 /gnu | |
parent | 0d2c0562b86c70e409df53b6013d2835781a673b (diff) | |
download | guix-fa702e1a2913c665973f9cc43e253168e6505d9e.tar guix-fa702e1a2913c665973f9cc43e253168e6505d9e.tar.gz |
gnu: discrover: Add missing includes.
* gnu/packages/bioinformatics.scm (discrover)[arguments]: Add build phase
"add-missing-includes" to include "random" headers.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1bba270749..34e6e5f35d 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -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))) |