diff options
author | pjotrp | 2017-07-09 11:52:02 +0000 |
---|---|---|
committer | pjotrp | 2017-07-09 11:52:02 +0000 |
commit | 5870720799d5825d1e4a7e6bd7dbf14a99812097 (patch) | |
tree | 2f733aa1146660183c8580ba9864dd62770d16fe /gn/packages/shell.scm | |
parent | bdaf5cd6c71e98139c63360a345ab51e25ebc5fa (diff) | |
download | guix-bioinformatics-5870720799d5825d1e4a7e6bd7dbf14a99812097.tar.gz |
Update gemma and shunit2 packages
Diffstat (limited to 'gn/packages/shell.scm')
-rw-r--r-- | gn/packages/shell.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gn/packages/shell.scm b/gn/packages/shell.scm index e457dce..eb9178f 100644 --- a/gn/packages/shell.scm +++ b/gn/packages/shell.scm @@ -3,6 +3,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages) + #:use-module (gnu packages base) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) ) @@ -20,6 +21,9 @@ (file-name (string-append name "-" version "-checkout")) (sha256 (base32 "11savxc6qliqv25kv59qak6j7syjv95hbpmq1szn1mzn32g2gc25")))) + (inputs `( + ("coreutils" ,coreutils) ; for mktemp and od + )) (build-system gnu-build-system) (arguments `( @@ -28,6 +32,14 @@ (modify-phases %standard-phases (delete 'configure) (delete 'build) + (add-after 'unpack 'replace-binary-paths + (lambda _ + (substitute* "source/2.0/src/shell/shunit2" + (("/bin/sh") (which "sh")) + (("exec mktemp") (string-append "exec " (which "mktemp"))) + (("/usr/bin/od") (which "od")) + )#t)) + (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) |