all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: How to use custom grub?
Date: Mon, 07 Nov 2016 11:36:51 +0000	[thread overview]
Message-ID: <87inrz8qss.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20161107114833.2c1453ca@scratchpost.org>

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

>> Hmm, did you mean (package->drivation (grub-configuration-grub (operating-system-bootloader os))) ? Otherwise it can't work.
>
> Fixing typo:
>
> Hmm, did you mean (package->derivation (grub-configuration-grub (operating-system-bootloader os))) ? Otherwise it can't work.
>
> It gives you a derivation which you can use derivation->output-path
> (which returns a file path) on and then invoke the executable or
> whatever.

That's it! This makes it pick up (bootloader (grub-configuration (grub
grub-efi))) from my config.scm:

making '/gnu/store/kgk9rrawq9fxh1g2j6121gl3lcz47395-system' the current system...
Installing for x86_64-efi platform.
Installation finished. No error reported.

Even though I'm now working on multi-platform grub, I think we should
have this anyway so that the "grub" argument works as expected. WDYT?

Also, since this works, maybe it's better to have grub-efi as a separate
package, as it will add ~8MiB to the grub closure (the x86_64-efi
platform directory is 6.1MiB; efibootmgr adds another ~2MiB).

Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

  reply	other threads:[~2016-11-07 11:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03 16:19 How to use custom grub? Marius Bakke
2016-11-03 16:50 ` Danny Milosavljevic
2016-11-03 20:47   ` Marius Bakke
2016-11-03 20:47   ` Marius Bakke
2016-11-04 13:24 ` Ludovic Courtès
2016-11-05 12:37   ` Marius Bakke
2016-11-05 23:41     ` Danny Milosavljevic
2016-11-07 10:48       ` Danny Milosavljevic
2016-11-07 11:36         ` Marius Bakke [this message]
2016-11-07 15:05           ` Danny Milosavljevic
2016-11-07 15:50             ` Marius Bakke
2016-11-07 22:26               ` Danny Milosavljevic
2016-11-08 12:40               ` Ludovic Courtès
2016-11-08 14:36                 ` Marius Bakke

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

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

  git send-email \
    --in-reply-to=87inrz8qss.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.