diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-08-09 12:28:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-08-09 18:14:33 +0200 |
commit | 27f00963d31636eb94bb7f331989827f4782de78 (patch) | |
tree | 0f0e273ce95f29042270f9a7ac30c1238d114b26 /guix/sets.scm | |
parent | 30289f4d4638452520f52c1a36240220d0d940ff (diff) |
self: Use default config variable values for derivations.
The value of %localstatedir, %storedir, and %sysconfdir is known to have
no impact on the compilation of the Guix modules. Thus, explicitly
build those modules against a (guix config) module that uses all the
default values. That way, a Guix installation that uses different
config values can still benefit from substitutes.
Reported by Ricardo Wurmus.
* guix/self.scm (%default-config-variables): New variable.
(make-config.scm): Add #:config-variables and honor it.
(compiled-guix)[*core-modules*]: Pass #:config-variables to
'make-config.scm'.
Diffstat (limited to 'guix/sets.scm')
0 files changed, 0 insertions, 0 deletions