Go to file
retropikzel 7a32a591a9 Update readme 2024-10-11 13:33:11 +03:00
.gitignore Made this 2024-10-06 16:33:19 +03:00
.guix-channel Fix channel file name 2024-10-11 10:12:36 +03:00
Makefile Switch the shell scripts to be executables too 2024-10-11 08:59:15 +03:00
README.md Update readme 2024-10-11 13:33:11 +03:00
build-repo Fix the installation path 2024-10-11 10:14:29 +03:00
ensure-hashes Switch the shell scripts to be executables too 2024-10-11 08:59:15 +03:00
get-package-urls Make the scheme scripts executables to protect them from Guix reading them 2024-10-11 08:43:26 +03:00
licenses.data-scm Rename fiels to protect them from Guix reading them 2024-10-11 08:47:19 +03:00
news.txt Added news 2024-10-06 16:36:53 +03:00
snow-fort.scm Fix the installation path 2024-10-11 10:14:29 +03:00

README.md

Snow fort packages as Guix channel.

The relevant part of Guix manual is Additional Channels. But here are short instructions anyway.

Note about dependencies

Only libraries which are in snow-fort and not (scheme ...) or (srfi ...) are added to the Guix package as dependency.

See the part about installing srfi-libraries for more details.

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

Update the channels

Run:

guix pull

Installing packages

The packages have been prefixed with "snow-", and spaces replaced with "-".

So for example to install package (arvyy mustache) run:

guix install snow-arvyy-mustache

or:

guix shell snow-arvyy-mustache

Using the libraries

When you install a library it will be in path:

${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:

export GUIX_PROFILE="$HOME/.guix-profile"
    . "$GUIX_PROFILE/etc/profile"

To use the libraries add the installation path into your implementations load path.

Example with Guile:

guix install snow-arvyy-mustache
guile --r7rs -L ${GUIX_PROFILE}/usr/lib/snow

Example with Gauche:

guix install snow-arvyy-mustache
gosh -r7 -A ${GUIX_PROFILE}/usr/lib/snow

Example with Sagittarius:

guix install snow-arvyy-mustache
sash -r7 -L ${GUIX_PROFILE}/usr/lib/snow

Installing SRFI libraries

SRFI libraries are not yet packaged into this channel. See related issue.