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

View file

@ -92,6 +92,7 @@ (define transform
(if (eq? (package-build-system p) python-build-system)
(package
(inherit p)
(location (package-location p))
(name (let ((name (package-name p)))
(string-append new-prefix
(if (string-prefix? old-prefix name)