summaryrefslogtreecommitdiff
path: root/plasma-env
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-03-02 11:33:03 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-03-02 11:33:03 +0100
commit2a7a1e8ae03e03deace396b61ed5d08add6c6c23 (patch)
treeb84259d2c9e4c4c09faa468f56c7b6a05ece6411 /plasma-env
parent6d809bc2f414684856e8521a5f9856b9ea39fabe (diff)
Running in guix
Diffstat (limited to 'plasma-env')
-rwxr-xr-xplasma-env/guix.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/plasma-env/guix.sh b/plasma-env/guix.sh
new file mode 100755
index 0000000..94efdec
--- /dev/null
+++ b/plasma-env/guix.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+export PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH"
+
+GUIX_PROFILE=${GUIX_ENVIRONMENT:="$HOME/.guix-profile"}
+. $GUIX_PROFILE/etc/profile
+
+# Make Desktop Environment find guix apps:
+export XDG_DATA_DIRS="$GUIX_PROFILE/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
+
+export LIBRARY_PATH="$GUIX_PROFILE/lib${LIBRARY_PATH:+:}$LIBRARY_PATH"
+export CPATH="$GUIX_PROFILE/include${CPATH:+:}$CPATH"
+export GUIX_LOCPATH="$GUIX_PROFILE/lib/locale" # Locale directory
+
+export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs"
+export SSL_CERT_FILE="$GUIX_PROFILE/etc/ssl/certs/ca-certificates.crt"