[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using an SRFI that is not available in Guile
From: |
Attila Lendvai |
Subject: |
Re: using an SRFI that is not available in Guile |
Date: |
Thu, 13 Jan 2022 09:55:43 +0000 |
thank you Maxime!
with your guidance, i have managed to add guile-srfi-189 next to the other
guile-srfi-NNN packages in guile-xyz.scm (a slightly tested diff is attached).
but when i grep for how these guile-srfi-NNN packages are actually used within
guix, then i don't see any hits unfortunately.
i tried the following to do a quick test of my new package:
$ ./pre-inst-env guix shell guile-srfi-189
$ ./pre-inst-env guix repl
scheme@(guix-user)> ,use (srfi srfi-189)
While executing meta-command:
no code for module (srfi srfi-189)
how do i introduce it into the guix codebase, without breaking e.g.
bootstrappability?
i guess i need to add it as an input and a propagated-input to the guix package
in package-management.scm? and then progress a kind of bootstrap stage/step, so
that i can then `#:use-module (srfi srfi-189)` it in configuration.scm?
probably by recording the new input as a commit, and then guix pull'ing it into
my user's profile? and only after that can i start using it within the guix
codebase?
if that is the case, then is there a simpler/shorter way to test my new
guile-srfi-189 package before i go through all this dance?
pointers to readings are also welcome.
or alternatively, if it's really this complicated, then i'd welcome if someone
more experienced "documented" the process in the form of git commits... ;)
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Lenin was certainly right. There is no subtler, no surer means of overturning
the existing basis of society than to debauch the currency. The process engages
all the hidden forces of economic law on the side of destruction, and does it
in a manner which not one man in a million is able to diagnose.”
— John Maynard Keynes (1883–1946), 'The Economic Consequences of the
Peace' (1919)
0001-Add-guile-srfi-189.patch
Description: Text Data
- using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/12
- Re: using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/12
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/12
- Re: using an SRFI that is not available in Guile,
Attila Lendvai <=
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/13
- Re: using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/13
- Re: using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/13
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/14
- Re: using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/17
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/13
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/13
Re: using an SRFI that is not available in Guile, Ludovic Courtès, 2022/01/18