Hi,

Danny Milosavljevic <[email protected]> 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