unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: 27231@debbugs.gnu.org
Subject: bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration
Date: Sun, 04 Jun 2017 22:49:55 +0300	[thread overview]
Message-ID: <87o9u35y8s.fsf@gmail.com> (raw)
In-Reply-To: <20170604142513.GA18416@floriannotebook> (pelzflorian@pelzflorian.de's message of "Sun, 4 Jun 2017 16:25:13 +0200")

pelzflorian (Florian Pelz) (2017-06-04 16:25 +0200) wrote:

> On Sun, Jun 04, 2017 at 04:38:11PM +0300, Alex Kost wrote:
>> This is a limitation of 'grub-configuration' macro: that backtrace
>> happened because you have 'grub' field *not* in the first place of your
>> 'grub-configuration'.
>>
>> […]
>>
>> Note that this will work if you put (grub grub-efi) in the first place:
>> 
>>   (grub-configuration (grub grub-efi)
>>                       (device "/dev/sda"))
>>
>
> Ah… Thank you for clarifying.
>
>   (bootloader (grub-configuration (grub grub-efi)
>                                   (device "/dev/sda")))
>
> I just tried and this fails too with the same error. I’m not sure why
> it does not match the syntax rule for grub-configuration.

Hm, strange, it doesn't give me that error when 'grub' is in the first
place.  Anyway, I would use 'bootloader-configuration' instead as you do
it now.

> This macro seems complicated and unintuitive. I don’t like how a
> syntax rule feigns being a record definition but isn’t and therefore
> breaks things… Why not just inherit bootloader-configuration?

I don't know, it's better to ask Mathieu (Cc-ed) who made these changes
in the bootloader code.

-- 
Alex

  reply	other threads:[~2017-06-04 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-04 10:47 bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration pelzflorian (Florian Pelz)
2017-06-04 13:38 ` Alex Kost
2017-06-04 14:25   ` pelzflorian (Florian Pelz)
2017-06-04 19:49     ` Alex Kost [this message]
2017-06-10  6:59     ` pelzflorian (Florian Pelz)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9u35y8s.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=27231@debbugs.gnu.org \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).