summary refs log tree commit diff
path: root/build-aux/build-self.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-18 23:25:53 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-18 23:25:53 +0200
commitd6b5aa0b031f0e7091f7424ac616d1c4d10fed5b (patch)
treecdc198dca5fb504210de0d857901f21794468141 /build-aux/build-self.scm
parent92d581a0fd9118d8586aff2746339007f67da232 (diff)
downloadguix-d6b5aa0b031f0e7091f7424ac616d1c4d10fed5b.tar.gz
build-self: Do not rely on '%store-database-directory'.
Guix'es older than one week don't have this variable so requiring it
would break things for them.

* build-aux/build-self.scm (%config-variables): Remove
'%store-database-directory'.
Diffstat (limited to 'build-aux/build-self.scm')
-rw-r--r--build-aux/build-self.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 6af329b257..22c4031c2e 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -71,7 +71,9 @@
                                 (cons `(variable . ,variable)
                                       (variables rest ...))))))
     (variables %config-directory %localstatedir %state-directory
-               %store-database-directory %store-directory
+               ;; Note: No '%store-database-directory', which is too recent
+               ;; and unnecessary anyway.
+               %store-directory
                %storedir %sysconfdir %system)))
 
 (define* (make-config.scm #:key libgcrypt zlib gzip xz bzip2