self: Make (guix config) generation really stateless.
authorLudovic Courtès <ludo@gnu.org>
Mon, 18 Jun 2018 20:43:44 +0000 (22:43 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 18 Jun 2018 21:19:51 +0000 (23:19 +0200)
commit45779fa676419de8838cb26b6c7a24678a2be1cd
tree74c4c372ee226745dd1c27f066b3776ba7534229
parent870677cbb85d05688ba85deb9807fdef8bd94e19
self: Make (guix config) generation really stateless.

Previously the %CONFIG-VARIABLES list would be generated based on what
the current (guix config) contains.  Thus, it would include
'%guix-register-program', which we recently removed, because
existing (guix config) most likely contained that variable.  Since its
value could differ from machine to machine, the build farm could be
building a different config.scm, thereby preventing people from getting
substitutes.

* guix/self.scm (%config-variables): Turn into a white list instead of
taking all the remaining variables from the current (guix config).
* build-aux/build-self.scm (%config-variables): Likewise.
build-aux/build-self.scm
guix/self.scm