me
/
guix
Archived
1
0
Fork 0

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

* guix/build-system/python.scm (package-with-explicit-python): Add
  'location' field.
master
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)
(package
(inherit p)
(location (package-location p))
(name (let ((name (package-name p)))
(string-append new-prefix
(if (string-prefix? old-prefix name)