78 lines
1.5 KiB
Markdown
78 lines
1.5 KiB
Markdown
[Snow fort](https://snow-fort.org) packages as [Guix](https://guix.gnu.org/)
|
|
[channel](https://guix.gnu.org/manual/en/html_node/Channels.html).
|
|
|
|
The relevant part of Guix manual is
|
|
[Additional Channels](https://guix.gnu.org/manual/en/html_node/Specifying-Additional-Channels.html).
|
|
But here are short instructions anyway.
|
|
|
|
## Note about dependencies
|
|
|
|
Only libraries which are in snow-fort and not (scheme ...) or (srfi ...) are added to the Guix
|
|
package as dependency.
|
|
|
|
See the part about installing srfi-libraries for more details.
|
|
|
|
|
|
## Add the Guix channell
|
|
|
|
Copy this:
|
|
|
|
<pre>
|
|
(cons (channel
|
|
(name 'snow-fort)
|
|
(url "https://gitea.scheme.org/Rinne/snow-fort-guix-channel.git"))
|
|
%default-channels)
|
|
</pre>
|
|
|
|
Into:
|
|
|
|
~/.config/guix/channels.scm
|
|
|
|
|
|
## Update the channels
|
|
|
|
Run:
|
|
|
|
guix pull
|
|
|
|
|
|
## Installing/using packages
|
|
|
|
The packages have been prefixed with "snow-", so for example to use package (arvyy mustache)
|
|
from [https://snow-fort.org/pkg](https://snow-fort.org/pkg) run:
|
|
|
|
guix install snow-arvyy-mustache
|
|
|
|
or:
|
|
|
|
guix shell snow-arvyy-mustache
|
|
|
|
|
|
And the library can be found from path ${GUIX_PROFILE}/lib/snow.
|
|
|
|
|
|
## Using the libraries
|
|
|
|
To use the libraries add the installation path into your implementations loadpath.
|
|
|
|
For example with Guile:
|
|
|
|
guile --r7rs -L ${GUIX_PROFILE}/lib/snow
|
|
|
|
## Installing SRFI libraries
|
|
|
|
SRFI libraries are not yet packaged into this channel. See related
|
|
[issue](https://gitea.scheme.org/Rinne/snow-fort-guix-channel/issues/2).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|