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
|
@ -216,7 +216,9 @@ data types.")
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "PYTHONPATH")
|
(variable "PYTHONPATH")
|
||||||
(files '("lib/python3.3/site-packages")))))))
|
(files (list (string-append "lib/python"
|
||||||
|
(version-major+minor version)
|
||||||
|
"/site-packages"))))))))
|
||||||
|
|
||||||
(define-public python-wrapper
|
(define-public python-wrapper
|
||||||
(package (inherit python)
|
(package (inherit python)
|
||||||
|
|
Loading…
Reference in New Issue