diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-04-14 15:11:51 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-04-14 15:11:51 +0800 |
commit | 0e05d01e4f579f4f4866528d53178506444974a9 (patch) | |
tree | 2577ff0eec47662ca6d793168636053a5143f216 /gnu/packages | |
parent | 279a587d60b7574752885e85bf1291df1700b7d7 (diff) | |
download | guix-0e05d01e4f579f4f4866528d53178506444974a9.tar guix-0e05d01e4f579f4f4866528d53178506444974a9.tar.gz |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2381c7d2c7..d64f6331d9 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -216,7 +216,9 @@ data types.") (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) |