From d0f89645f4fda0f26eb6636d9ecdc43a5c6fb7c0 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 11 Oct 2024 23:02:27 +0300 Subject: [PATCH] Update readme --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 987189c..1e2ea70 100644 --- a/README.md +++ b/README.md @@ -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