summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/build-system/python.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index 1a5d9df473..2532210a49 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -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)