Update readme

This commit is contained in:
retropikzel 2024-10-11 09:47:27 +03:00
parent 9b4f2a1a3c
commit c98f986334
1 changed files with 17 additions and 22 deletions

View File

@ -5,15 +5,11 @@ The relevant part of Guix manual is
[Additional Channels](https://guix.gnu.org/manual/en/html_node/Specifying-Additional-Channels.html). [Additional Channels](https://guix.gnu.org/manual/en/html_node/Specifying-Additional-Channels.html).
But here is short instructions anyway. But here is short instructions anyway.
## Status ## Note about dependencies
In **alpha**. Only libraries which are in snow-fort and not SRFIs are added to the Guix package as dependency.
Currently does not work other than used locally. Working on fixing the bugs tho! See the part about installing srfi-libraries for more details.
Clone locally and to use run:
guix shell -L REPOSITORY_LOCATION/packages snow-package-name
## Add the Guix channell ## Add the Guix channell
@ -22,7 +18,7 @@ Copy this:
(cons (channel (cons (channel
(name 'snow-fort) (name 'snow-fort)
(url "https://gitea.scheme.org/Rinne/snow-fort-guix-channel.git")) (url "https://gitea.scheme.org/Rinne/snow-fort-guix-channel.git"))
%default-channels) %default-channels)
Into: Into:
@ -37,31 +33,30 @@ Run:
guix pull guix pull
## Using packages ## Installing/using packages
### Note about dependencies
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.
### Guix shell
The packages have been prefixed with "snow-", so for example to use package (arvyy mustache) 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: from [https://snow-fort.org/pkg](https://snow-fort.org/pkg) run:
guix shell snow-arvyy-mustache guix install snow-arvyy-mustache
or:
guix shell snow-arvyy-mustache
And the library can be found from path ${GUIX_PROFILE}/share/snow. And the library can be found from path ${GUIX_PROFILE}/lib/snow.
To use them add that path into your implementations loadpath.
## Using the libraries
To use the libraries add the installation path into your implementations loadpath.
For example with Guile: For example with Guile:
guile --r7rs -L ${GUIX_PROFILE}/share/snow guile --r7rs -L ${GUIX_PROFILE}/lib/snow
### Installing SRFI libraries ## Installing SRFI libraries
SRFI libraries are not yet packaged into this channel. See related SRFI libraries are not yet packaged into this channel. See related
[issue](https://gitea.scheme.org/Rinne/snow-fort-guix-channel/issues/2). [issue](https://gitea.scheme.org/Rinne/snow-fort-guix-channel/issues/2).