Skip to content

Instantly share code, notes, and snippets.

@Pinjontall94
Created June 17, 2024 20:51
Show Gist options
  • Save Pinjontall94/4dfbf1e1b1a8327f10b010ee06f413d1 to your computer and use it in GitHub Desktop.
Save Pinjontall94/4dfbf1e1b1a8327f10b010ee06f413d1 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