mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
gnu: trim-galore: Fix test for Python.
* gnu/packages/bioinformatics.scm (trim-galore)[arguments]: Replace "configure" phase to skip ill-advised test for Python.
This commit is contained in:
parent
2a509880d4
commit
5f1e31094d
1 changed files with 9 additions and 1 deletions
|
@ -10896,7 +10896,15 @@ (define-public trim-galore
|
|||
`(#:tests? #f ; no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
;; Trim Galore tries to figure out what version of Python
|
||||
;; cutadapt is using by looking at the shebang. Of course that
|
||||
;; doesn't work, because cutadapt is wrapped in a shell script.
|
||||
(substitute* "trim_galore"
|
||||
(("my \\$python_return.*")
|
||||
"my $python_return = \"Python 3.999\";\n"))
|
||||
#t))
|
||||
(delete 'build)
|
||||
(add-after 'unpack 'hardcode-tool-references
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue