me
/
guix
Archived
1
0
Fork 0

gnu: grass: Fix start-up without python@3 in profile.

* gnu/packages/geo.scm (grass)[arguments]: Rename ‘wrap-python’ phase to
‘python:wrap’.  Add ‘wrap-with-python-interpreter’ phase.
master
Tobias Geerinckx-Rice 2020-10-16 21:07:06 +02:00
parent bcf9732059
commit 6c03d15d7d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 2 deletions

View File

@ -1865,8 +1865,14 @@ track your position right from your laptop.")
(symlink (string-append dir "/lib")
(string-append out "/lib")))
#t))
(add-after 'install-links 'wrap-python
(assoc-ref python:%standard-phases 'wrap)))))
(add-after 'install-links 'python:wrap
(assoc-ref python:%standard-phases 'wrap))
(add-after 'python:wrap 'wrap-with-python-interpreter
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/" ,grassxx)
`("GRASS_PYTHON" = (,(which "python3"))))
#t))))))
(synopsis "GRASS Geographic Information System")
(description
"GRASS (Geographic Resources Analysis Support System), is a Geographic