Re: Packaging existing software for Guix

2022-04-07 Thread raingloom
For build system, the best is to look at the source. eg.: if you see a `meson.build` file, it's most likely going to need meson-build-system, etc. Read through the list of available build systems in the Guix manual and see which one matches. For hashes, just use the output of guix hash /dev/null.

Re: Packaging existing software for Guix

2022-04-04 Thread Cássio Tavares
Hi, and thanks for your patient guidance, Ricardo! So . . . My progress I'm trying to follow your (and @Vagrant Cascadian 's) suggestions, looking into the ` guix.git/gnu/packages/*` files for examples of package definitions, reading the devel

Re: Packaging existing software for Guix

2022-04-01 Thread Cássio Tavares
Thanks. I followed the paths and found the corresponding modules, and I think I get it: it's just a way not to hard-code the root of where the `mes` code lies. But then, it seems to me that @Vagrant Cascadian is not correct when he suggests that this code enables the build system to checkout the

Re: Packaging existing software for Guix

2022-04-01 Thread Liliana Marie Prikler
Hi Cássio > OK, I checked this scheme file, and it's just a four-line program, > but I don't get it. So, help me here ─ what is this *↓↓↓* `mes` code > actually doing? > > This line gets the name of the directory in which (current-filename), i.e. /path/to/mes/guix.scm lies. > (define %source-dir

Re: Packaging existing software for Guix

2022-03-31 Thread Cássio Tavares
Thanks, Vagrant. > For changes going into upstream Guix, generally yes. Because guix is > functional package management, you need to know the hashes of your > inputs in advance. > > The exception might be that some upstream software provides a guix.scm > to be able to build from the current git c

Re: Packaging existing software for Guix

2022-03-29 Thread Ricardo Wurmus
Hi, Cássio Tavares writes: >1. If I submit an issue with a package request, does it take long for >the package to be made available? It can take quite some time when you don’t have someone to review the package. You are welcome to send me issue numbers with your patches and I’ll review

Re: Packaging existing software for Guix

2022-03-29 Thread Vagrant Cascadian
On 2022-03-29, Cássio Tavares wrote: > So, I'm looking into package definition, and I have a few questions to > start: > >1. If I submit an issue with a package request, does it take long for >the package to be made available? This can be highly variable, unfortunately. There aren't always

Packaging existing software for Guix

2022-03-29 Thread Cássio Tavares
Hi there! I've been struggling with Guix for about three months now, but I still couldn't get it working as I need it. I will need help on many fronts. One of the problems is that the Guix ecosystem is still somewhat limited. I know that there is a way to install Nix packages, but since I became f