build-system/python: Disable grafts.
authorLudovic Courtès <ludo@gnu.org>
Sun, 16 Oct 2022 19:39:31 +0000 (21:39 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 21 Oct 2022 23:46:54 +0000 (01:46 +0200)
This is consistent with what 'gnu-build' does and makes sure origins
aren't getting lowered with #:graft? #t in one case and not in the
other.

This is a followup to df46bef48eaa43c502fa9193371692c039b460c1 and
dada5e86ed58c1869e30678c4d69582b1528ed6c.

* guix/build-system/python.scm (python-build): Pass #:graft? #f.

guix/build-system/python.scm

index efade6f..c8f04b2 100644 (file)
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013-2017, 2021-2022 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2021 Lars-Dominik Braun <lars@6xq.net>
@@ -212,6 +212,7 @@ provides a 'setup.py' file as its build system."
                                                   system #:graft? #f)))
     (gexp->derivation name build
                       #:system system
+                      #:graft? #f                 ;consistent with 'gnu-build'
                       #:target #f
                       #:guile-for-build guile)))