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:
parent
32728adb95
commit
f856fcb558
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue