gnu: filtlong: Remove trailing #T from build phases.

* gnu/packages/bioinformatics.scm (filtlong)[arguments]: Remove trailing #T.
This commit is contained in:
Ricardo Wurmus 2023-01-06 13:58:05 +01:00
parent e20ca244db
commit f5ffcd31c2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -14332,21 +14332,18 @@ (define-public filtlong
(scripts (string-append out "/share/filtlong/scripts")))
(install-file "bin/filtlong" bin)
(install-file "scripts/histogram.py" scripts)
(install-file "scripts/read_info_histograms.sh" scripts))
#t))
(install-file "scripts/read_info_histograms.sh" scripts))))
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(path (getenv "GUIX_PYTHONPATH")))
(wrap-program (string-append out
"/share/filtlong/scripts/histogram.py")
`("GUIX_PYTHONPATH" ":" prefix (,path))))
#t))
`("GUIX_PYTHONPATH" ":" prefix (,path))))))
(add-before 'check 'patch-tests
(lambda _
(substitute* "scripts/read_info_histograms.sh"
(("awk") (which "gawk")))
#t)))))
(("awk") (which "gawk"))))))))
(inputs
`(("gawk" ,gawk) ;for read_info_histograms.sh
("python" ,python-2) ;required for histogram.py