diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-10-18 23:53:18 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-10-18 23:54:16 +0200 |
commit | c0770feedd08b6e479125dae32c7fe3411adf455 (patch) | |
tree | bca178b5165d7b6da11d026fbd6becf095e91e74 /gnu/packages | |
parent | 39427f9042c49d8fd6bea8349a51903c69901898 (diff) | |
download | guix-patches-c0770feedd08b6e479125dae32c7fe3411adf455.tar guix-patches-c0770feedd08b6e479125dae32c7fe3411adf455.tar.gz |
gnu: f-seq: Fix location of commons-cli.jar.
* gnu/packages/bioinformatics.scm (f-seq)[arguments]: Fix location of
commons-cli.jar in the wrapper script.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 32603ae57e..d15f6fd559 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -10035,13 +10035,18 @@ browser.") #:phases (modify-phases %standard-phases (replace 'install - (lambda* (#:key outputs #:allow-other-keys) + (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((target (assoc-ref outputs "out")) (doc (string-append target "/share/doc/f-seq/"))) (mkdir-p target) (mkdir-p doc) (substitute* "bin/linux/fseq" - (("java") (which "java"))) + (("java") (which "java")) + (("\\$REALDIR/../lib/commons-cli-1.1.jar") + (string-append (assoc-ref inputs "java-commons-cli") + "/share/java/commons-cli.jar")) + (("REALDIR=.*") + (string-append "REALDIR=" target "/bin\n"))) (install-file "README.txt" doc) (install-file "bin/linux/fseq" (string-append target "/bin")) (install-file "build~/fseq.jar" (string-append target "/lib")) |