aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/profile b/profile
index 13d68a1..3a8b510 100644
--- a/profile
+++ b/profile
@@ -10,8 +10,12 @@ fi
export CT_PREFIX_DIR='~/.local/${CT_TARGET}'
export CT_LOCAL_TARBALLS_DIR="~/src/ct-ng"
+# Meson caching
+export MESON_PACKAGE_CACHE_DIR="$HOME/.cache/meson"
# Python caching
export PYTHONPYCACHEPREFIX="$HOME/.cache/pycache"
+export MYPY_CACHE_DIR="$HOME/.cache/mypy"
+export RUFF_CACHE_DIR="$HOME/.cache/ruff"
# Nix
for profile in "$HOME"/.nix-profile/etc/profile.d/*; do
@@ -24,6 +28,7 @@ GUIX_PROFILE="$HOME/.config/guix/current"
! [[ -d "$GUIX_PROFILE" ]] || source "$GUIX_PROFILE/etc/profile"
GUIX_PROFILE="$HOME/.guix-profile"
! [[ -d "$GUIX_PROFILE" ]] || source "$GUIX_PROFILE/etc/profile"
+unset GUIX_PROFILE
# Rest of the profile run only if login is from linux console
[[ "$(tty)" != /dev/tty* ]] && return