Update readme

This commit is contained in:
retropikzel 2024-10-11 13:28:54 +03:00
parent d9c3aff524
commit 17aea3a537
1 changed files with 4 additions and 12 deletions

View File

@ -27,14 +27,12 @@ Into:
~/.config/guix/channels.scm ~/.config/guix/channels.scm
## Update the channels ## Update the channels
Run: Run:
guix pull guix pull
## Installing packages ## Installing packages
The packages have been prefixed with "snow-", and spaces replaced with "-". The packages have been prefixed with "snow-", and spaces replaced with "-".
@ -47,19 +45,17 @@ or:
guix shell snow-arvyy-mustache guix shell snow-arvyy-mustache
## Using the libraries ## Using the libraries
When you install a library it will be in path: When you install a library it will be in path:
${GUIX_PROFILE}/usr/lib/snow ${GUIX_PROFILE}/usr/lib/snow
Note that if you are not running on guix system you might need to set the GUIX_PROFILE in your
bashrc like this:
And when you use library with a shell it will be in path: export GUIX_PROFILE="$HOME/.guix-profile"
. "$GUIX_PROFILE/etc/profile"
${GUIX_ENVIRONMENT}/usr/lib/snow
To use the libraries add the installation path into your implementations loadpath. To use the libraries add the installation path into your implementations loadpath.
@ -68,10 +64,6 @@ For example with Guile:
guix install snow-arvyy-mustache guix install snow-arvyy-mustache
guile --r7rs -L ${GUIX_PROFILE}/usr/lib/snow guile --r7rs -L ${GUIX_PROFILE}/usr/lib/snow
or:
guix shell snow-arvyy-mustache
guile --r7rs -L ${GUIX_ENVIRONMENT}/usr/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