guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Importing package-overlay-for-Nix - How?


From: Ludovic Courtès
Subject: Re: Importing package-overlay-for-Nix - How?
Date: Wed, 21 Oct 2020 14:59:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> How do I use it
>
>   guix import nix
>
> in order to import those packages?

This importer has bitrot; it could probably be salvaged with some effort
from someone knowledgeable about today’s Nix (i.e., not me :-)):

  https://issues.guix.gnu.org/32339

Another option would be to delete it altogether: it only contributes a
tiny bit to the packaging effort.  Only a tiny bit because the difficult
part is written as Bash and/or Nix functions, which the importer cannot
“translate”.

Let’s look at the examples you give:

> https://github.com/librerpi/rpi-open-firmware/blob/master/bcm2835.nix

Could be imported, minus ‘preConfigure’.

> https://github.com/librerpi/rpi-open-firmware/blob/master/bootloader.nix

This is not a package but a NixOS “module” (akin to a Guix service
type).

> https://github.com/librerpi/rpi-open-firmware/blob/master/default.nix

This looks like a package collection (obfuscated, though).

> https://github.com/librerpi/rpi-open-firmware/blob/master/netboot.nix

Not a package but a “module” for a custom initrd.

> https://github.com/librerpi/rpi-open-firmware/tree/master/nix

Not sure what that is.

In short, the importer would save you 2mn of typing for the first file,
little more.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]