diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-01-02 12:06:00 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-01-02 12:07:06 +0100 |
commit | 7edee3442722bd4adab44f79b0336af51c0254ef (patch) | |
tree | 3f8d407aacb403b83dacb3a9a93dfbd3ed6dd3bc /gnu | |
parent | 1adc6013fe3c7bc8e7f9b83268c0cc328b1a3fea (diff) | |
download | gnu-guix-7edee3442722bd4adab44f79b0336af51c0254ef.tar gnu-guix-7edee3442722bd4adab44f79b0336af51c0254ef.tar.gz |
gnu: ribotaper: Wrap executables.
* gnu/packages/bioinformatics.scm (ribotaper)[arguments]: Add phase
"wrap-executables".
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 78eb2947d4..8a482813db 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -493,6 +493,20 @@ BED, GFF/GTF, VCF.") (base32 "0ykjbps1y3z3085q94npw8i9x5gldc6shy8vlc08v76zljsm07hv")))) (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-executables + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (for-each + (lambda (script) + (wrap-program (string-append out "/bin/" script) + `("R_LIBS_SITE" ":" = (,(getenv "R_LIBS_SITE"))))) + '("create_annotations_files.bash" + "create_metaplots.bash" + "Ribotaper_ORF_find.sh" + "Ribotaper.sh")))))))) (inputs `(("bedtools" ,bedtools-2.18) ("samtools" ,samtools-0.1) |