gnu: gess: Don't hardcode python version.

* gnu/packages/bioinformatics.scm (gess)[arguments]: Replace hardcoded
python version with parameterized one.
This commit is contained in:
Efraim Flashner 2018-12-16 22:48:53 +02:00
parent cc729d257c
commit 2f3977b9a7
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 1 deletions

View File

@ -11390,7 +11390,10 @@ remove biased methylation positions for RRBS sequence files.")
(out (assoc-ref outputs "out"))
(bin (string-append out "/bin/"))
(target (string-append
out "/lib/python2.7/site-packages/gess/")))
out "/lib/python"
,(version-major+minor
(package-version python))
"/site-packages/gess/")))
(mkdir-p target)
(copy-recursively "." target)
;; Make GESS.py executable