summary refs log tree commit diff
path: root/build-aux
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-10-23 16:33:50 -0700
committerLudovic Courtès <ludo@gnu.org>2017-10-23 17:08:50 -0700
commitce33c3af76b0e5c68cc42dddf2b9c4b017386fd8 (patch)
tree0d4a6d26272af375c8e85bcfc26503d5f33a56f0 /build-aux
parent7a04dddd268c1395d5bfc45ab55071b6faf6de79 (diff)
downloadguix-ce33c3af76b0e5c68cc42dddf2b9c4b017386fd8.tar.gz
pull: Add (guix build compile) to the mix.
Fixes <https://bugs.gnu.org/28956>.
Reported by Leo Famulari <leo@famulari.name>.

* build-aux/build-self.scm (build): Add (guix build compile) to
 #:modules.
* guix/build/pull.scm (build-guix): Wrap 'compile-files' call in
'with-directory-excursion'.  Strip "./" from FILES when passing it to
'compile-files'.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/build-self.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 4933e02712..ed8ff5f4ce 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -245,6 +245,7 @@ Please upgrade to an intermediate version first, for instance with:
     (gexp->derivation "guix-latest" builder
                       #:modules '((guix build pull)
                                   (guix build utils)
+                                  (guix build compile)
 
                                   ;; Closure of (guix modules).
                                   (guix modules)