build-self: Do not rely on '%store-database-directory'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 18 Jun 2018 21:25:53 +0000 (23:25 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 18 Jun 2018 21:25:53 +0000 (23:25 +0200)
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'.

build-aux/build-self.scm

index 6af329b..22c4031 100644 (file)
@@ -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