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'.
This commit is contained in:
Ludovic Courtès 2018-06-18 23:25:53 +02:00
parent 92d581a0fd
commit d6b5aa0b03
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@
(cons `(variable . ,variable) (cons `(variable . ,variable)
(variables rest ...)))))) (variables rest ...))))))
(variables %config-directory %localstatedir %state-directory (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))) %storedir %sysconfdir %system)))
(define* (make-config.scm #:key libgcrypt zlib gzip xz bzip2 (define* (make-config.scm #:key libgcrypt zlib gzip xz bzip2