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

View file

@ -11390,7 +11390,10 @@ (define-public gess
(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