2024-10-06 09:33:19 -04:00
|
|
|
[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.
|
|
|
|
|
2024-10-07 10:28:04 -04:00
|
|
|
## 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
|
|
|
|
|
2024-10-06 09:33:19 -04:00
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
|
2024-10-06 10:07:08 -04:00
|
|
|
## Update the channels
|
2024-10-06 09:33:19 -04:00
|
|
|
|
2024-10-06 10:07:08 -04:00
|
|
|
Run:
|
|
|
|
|
|
|
|
guix pull
|
|
|
|
|
|
|
|
|
2024-10-06 12:18:52 -04:00
|
|
|
## Using packages
|
2024-10-06 09:33:19 -04:00
|
|
|
|
2024-10-11 01:40:12 -04:00
|
|
|
### Note about dependencies
|
|
|
|
|
2024-10-11 02:42:00 -04:00
|
|
|
Only libraries which are in snow-fort and not SRFIs are added to the Guix package as dependency.
|
|
|
|
|
|
|
|
See the part about installing srfi-libraries for more details.
|
2024-10-07 10:28:04 -04:00
|
|
|
|
|
|
|
### Guix shell
|
2024-10-06 12:18:52 -04:00
|
|
|
|
|
|
|
The packages have been prefixed with "snow-", so for example to use package (arvyy mustache)
|
2024-10-06 11:14:17 -04:00
|
|
|
from [https://snow-fort.org/pkg](https://snow-fort.org/pkg) run:
|
|
|
|
|
2024-10-06 12:18:52 -04:00
|
|
|
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
|
|
|
|
|
2024-10-11 01:40:12 -04:00
|
|
|
### 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).
|
|
|
|
|
2024-10-06 12:18:52 -04:00
|
|
|
|
2024-10-06 11:14:17 -04:00
|
|
|
|
2024-10-06 09:33:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|