build-system/python: 'package-with-python2' preserves source location.

* guix/build-system/python.scm (package-with-explicit-python): Add
  'location' field.
This commit is contained in:
Ludovic Courtès 2015-11-04 00:09:49 +01:00
parent 32728adb95
commit f856fcb558
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ NEW-PREFIX; otherwise, NEW-PREFIX is prepended to the name."
(if (eq? (package-build-system p) python-build-system) (if (eq? (package-build-system p) python-build-system)
(package (package
(inherit p) (inherit p)
(location (package-location p))
(name (let ((name (package-name p))) (name (let ((name (package-name p)))
(string-append new-prefix (string-append new-prefix
(if (string-prefix? old-prefix name) (if (string-prefix? old-prefix name)