[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/08: build-system/python: 'package-with-python2' preserves source loca

From: Ludovic Courtès
Subject: 08/08: build-system/python: 'package-with-python2' preserves source location.
Date: Tue, 03 Nov 2015 23:12:40 +0000

civodul pushed a commit to branch master
in repository guix.

commit f856fcb558eb59f9bb0d4b0651bd7508370321f4
Author: Ludovic Courtès <address@hidden>
Date:   Wed Nov 4 00:09:49 2015 +0100

    build-system/python: 'package-with-python2' preserves source location.
    * guix/build-system/python.scm (package-with-explicit-python): Add
      'location' field.
 guix/build-system/python.scm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index 1a5d9df..2532210 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)
                (inherit p)
+               (location (package-location p))
                (name (let ((name (package-name p)))
                        (string-append new-prefix
                                       (if (string-prefix? old-prefix name)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]