Skip to content

Instantly share code, notes, and snippets.

@Arevjensen
Forked from Pinjontall94/guix.fish
Created June 22, 2024 16:28
Show Gist options
  • Save Arevjensen/90dee7792b93125bfd7a686141029c45 to your computer and use it in GitHub Desktop.
Save Arevjensen/90dee7792b93125bfd7a686141029c45 to your computer and use it in GitHub Desktop.
Guix profile configuration for fish (i.e. fish-equivalent of ~/.guix-profile/etc/profile)
# Source this file to define all the relevant environment variables in Fish
# for this profile. An easy way to do this is to place this file in
# $XDG_CONFIG_HOME/fish/conf.d/
#
# You may want to define the 'GUIX_PROFILE' environment
# variable to point to the "visible" name of the profile, like this:
#
#
# When GUIX_PROFILE is undefined, the various environment variables refer
# to this specific profile generation.
set -gx GUIX_PROFILE ~/.guix-profile
fish_add_path "$GUIX_PROFILE/bin"
set -gax XDG_DATA_DIRS "$GUIX_PROFILE/share"
set -gx GUILE_LOAD_COMPILED_PATH "$GUIX_PROFILE/lib/guile/3.0/site-ccache $GUIX_PROFILE/share/guile/site/3.0"
set -gx GUILE_LOAD_PATH "$GUIX_PROFILE/share/guile/site/3.0"
set -gx GUIX_LOCPATH "$GUIX_PROFILE/lib/locale"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment