snow-fort-guix-channel/README.md

81 lines
1.7 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 is short instructions anyway.
## Status
In **alpha**.
Currently does not work other than used locally. Working on fixing the bugs tho!
Clone locally and to use run:
guix shell -L REPOSITORY_LOCATION/packages snow-package-name
## Add the Guix channell
Copy this:
(cons (channel
(name 'snow-fort)
(url "https://gitea.scheme.org/Rinne/snow-fort-guix-channel.git"))
%default-channels)
Into:
~/.config/guix/channels.scm
## Update the channels
Run:
guix pull
## Using packages
### Note about dependencies
When package has dependency on any (scheme ...) or (srfi ...) library it is **not** installed
alongside the package. The reasons are that first comes from the implementation and second might
have multiple implementation or come from the implementation. See the part about installing
srfi-libraries for more details.
### Guix shell
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 shell snow-arvyy-mustache
And the library can be found from path ${GUIX_PROFILE}/share/snow.
To use them add that path into your implementations loadpath.
For example with Guile:
guile --r7rs -L ${GUIX_PROFILE}/share/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).