accounts: Always honor the configured user account shell.
authorLudovic Courtès <ludo@gnu.org>
Fri, 26 Apr 2019 08:19:56 +0000 (10:19 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 26 Apr 2019 12:19:36 +0000 (14:19 +0200)
commit504a0fc636ec591e65b4a229a37e522e425d8a0c
tree5e3574db4155c66a4245447d48c9bdfe9ad10faf
parent9ca5ff882e2ac4eaab02eb0fde545bd784af478b
accounts: Always honor the configured user account shell.

Starting from commit 0ae735bcc8ff7fdc89d67b492bdee9091ee19e86, Guix
System would preserve the user shell across reconfigure and reboot.
This was done so as to allow for the use of 'chsh'.

This proved to be a misguided decision.  This commit goes back to
considering user shells as config and not "state."

* gnu/build/accounts.scm (allocate-passwd): Do not use shell from
PREVIOUS.
gnu/build/accounts.scm