mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: python: Use 'version-major+minor' to compute PYTHONPATH.
Fixes a regression introduced in 08c0450
.
* gnu/packages/python.scm (python)[native-search-paths]: Use
'version-major+minor' to compute PYTHONPATH.
This commit is contained in:
parent
279a587d60
commit
0e05d01e4f
1 changed files with 3 additions and 1 deletions
|
@ -216,7 +216,9 @@ (define-public python
|
|||
(native-search-paths
|
||||
(list (search-path-specification
|
||||
(variable "PYTHONPATH")
|
||||
(files '("lib/python3.3/site-packages")))))))
|
||||
(files (list (string-append "lib/python"
|
||||
(version-major+minor version)
|
||||
"/site-packages"))))))))
|
||||
|
||||
(define-public python-wrapper
|
||||
(package (inherit python)
|
||||
|
|
Loading…
Reference in a new issue