unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Packaging existing software for Guix
@ 2022-03-29 14:22 Cássio Tavares
  2022-03-29 15:55 ` Ricardo Wurmus
  2022-03-29 16:31 ` Vagrant Cascadian
  0 siblings, 2 replies; 9+ messages in thread
From: Cássio Tavares @ 2022-03-29 14:22 UTC (permalink / raw)
  To: Guix Help Mailing List

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 full
linux-libre adept, I'm trying to stay as "pure-Guix" as I can. My main
motivation is that this provision does not encourage people to port the
packages so that they are directly available in Guix's repository, quite
the contrary, it delays Guix packages availability.

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?
   2. Can someone with only a very basic understanding of the Scheme (and
   the functional paradigm) package software successfully enough to submit it
   to the Guix project?
   3. Would that be very time-consuming (because my work is in a very
   different area)? Is the learning curve steep?
   4. As far as I could understand, when defining a package from a git
   repository, I have to specify the package version and commit. Does this
   mean that I will forever have to check for new versions and edit the
   package definition to update it?
   5. Is there a relatively simple way to port packages from other distros
   into Guix? Could this be an automated process?
   6. Any further advice?

Thanks,
Cássio
-----
Faculdade de Letras - UFG
*“*
*Ou a gente se Raôni, ou a gente se Sting**”*

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Packaging existing software for Guix
@ 2022-04-01  6:26 Liliana Marie Prikler
  2022-04-01 13:21 ` Cássio Tavares
  0 siblings, 1 reply; 9+ messages in thread
From: Liliana Marie Prikler @ 2022-04-01  6:26 UTC (permalink / raw)
  To: cassio.ufg; +Cc: help-guix

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 (dirname (current-filename)))
This adds /path/to/mes/guix to the Guile load path.
> (add-to-load-path (string-append %source-dir "/guix"))
This loads git/mes.scm from the load path (see above) and makes its
public bindings available.
> (use-modules (git mes))
This is just a variable, probably exported by the (git mes) module,
which should itself be a (package ...) description.
> mes.git

Cheers


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-04-08  4:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 14:22 Packaging existing software for Guix Cássio Tavares
2022-03-29 15:55 ` Ricardo Wurmus
2022-04-04 21:17   ` Cássio Tavares
2022-04-08  3:59     ` raingloom
2022-03-29 16:31 ` Vagrant Cascadian
2022-03-31 22:23   ` Cássio Tavares
2022-04-02 17:00     ` Bird
  -- strict thread matches above, loose matches on Subject: below --
2022-04-01  6:26 Liliana Marie Prikler
2022-04-01 13:21 ` Cássio Tavares

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).