Update readme

This commit is contained in:
retropikzel 2024-10-11 23:02:27 +03:00
parent 14262b1d0b
commit d0f89645f4
1 changed files with 8 additions and 6 deletions

View File

@ -47,26 +47,28 @@ or:
## Using the libraries
When you install a library it will be in path:
When using Guix system on Guix shell environment variable **SNOW_LIBRARY_PATH** will be set.
${SNOW_LIBRARY_PATH}/usr/lib/snow
If you are using Guix as package manager you need to set it yourself, for example in bashrc:
To use the libraries add the installation path into your implementations load path.
export SNOW_LIBRARY_PATH=${HOME}/.guix_profile/current
To use the libraries add the environment variable into your implementations load path.
Example with Guile:
guix install snow-arvyy-mustache
guile --r7rs -L ${SNOW_LIBRARY_PATH}/usr/lib/snow
guile --r7rs -L ${SNOW_LIBRARY_PATH}
Example with Gauche:
guix install snow-arvyy-mustache
gosh -r7 -A ${SNOW_LIBRARY_PATH}/usr/lib/snow
gosh -r7 -A ${SNOW_LIBRARY_PATH}
Example with Sagittarius:
guix install snow-arvyy-mustache
sash -r7 -L ${SNOW_LIBRARY_PATH}/usr/lib/snow
sash -r7 -L ${SNOW_LIBRARY_PATH}
## Installing SRFI libraries