guix system: Honor '--no-grub'.

Reported by Alex Kost <alezost@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00564.html>.

* guix/scripts/system.scm (%options) <no-grub>: Use 'alist-cons' instead
  of 'alist-delete'.
This commit is contained in:
Ludovic Courtès 2015-02-24 23:42:32 +01:00
parent a4d8c40f7d
commit 6e1a7d17f4
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ Build the operating system declared in FILE according to ACTION.\n"))
result))) result)))
(option '("no-grub") #f #f (option '("no-grub") #f #f
(lambda (opt name arg result) (lambda (opt name arg result)
(alist-delete 'install-grub? result))) (alist-cons 'install-grub? #f result)))
(option '("full-boot") #f #f (option '("full-boot") #f #f
(lambda (opt name arg result) (lambda (opt name arg result)
(alist-cons 'full-boot? #t result))) (alist-cons 'full-boot? #t result)))