Commit 9d5c037e authored by Todor Kondic's avatar Todor Kondic
Browse files

...

parent 2331fe07
#!/bin/sh
# This runs bash.
if [ "x$BASH_VERSION" = "x" ]
then
exec bash "$0" "$@"
fi
. /usr/local/bin/enable-guix.sh
exec emacs "$@"
source "/usr/local/bin/param.sh"
# The default profile.
GUIX_PROFILE=$HOME/.guix-profile
[ -e "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile"
XDG_DATA_DIRS="$GUIX_PROFILE/share:$XDG_DATA_DIRS"
XDG_CONFIG_DIRS="$GUIX_PROFILE/etc/xdg:$XDG_CONFIG_DIRS"
# The profiles.
for dr in "$MAINPROFILE"; do
export GUIX_PROFILE=$dr
. "$GUIX_PROFILE/etc/profile"
XDG_DATA_DIRS="$GUIX_PROFILE/share:$XDG_DATA_DIRS"
XDG_CONFIG_DIRS="$GUIX_PROFILE/etc/xdg:$XDG_CONFIG_DIRS"
done
export GI_TYPELIB_PATH=${GI_TYPELIB_PATH:+} #Unsetting this because it breaks GNOME
export XDG_DATA_DIRS
export XDG_CONFIG_DIRS
export GUIX_PROFILE="$HOME/.guix-profile"
export GUIX_LOCPATH="$MAINPROFILE/lib/locale"
export INFOPATH="$INFOPATH:$HOME/.config/guix/current/share/info:/usr/local/share/info"
export GUIX_LD_WRAPPER_ALLOW_IMPURITIES=no
export SSL_CERT_DIR="$MAINPROFILE/etc/ssl/certs"
export SSL_CERT_FILE="$MAINPROFILE/etc/ssl/certs/ca-certificates.crt"
export SSL_CERT_FILE="$MAINPROFILE/etc/ssl/certs/ca-certificates.crt"
export PATH="$HOME/.local/bin:$HOME/.config/guix/current/bin${PATH:+:}$PATH"
R_LIBS_USER=
export R_LIBS_USER
# # There was an ess glitch that used to be taken care of with the
# # line below. However, it seems that they fixed it since then.
# if [ -d "$HOME/.guix-multiprof/emacs/share/emacs/site-lisp/guix.d/ess" ]; then
# export EMACSLOADPATH="$HOME/.guix-multiprof/emacs/share/emacs/site-lisp/guix.d/ess:$EMACSLOADPATH"
# fi
# Due to a conflict between "pillar" and standard profile GIT_EXEC_PATH is set wrongly
# This is an ugly fix:
export GIT_EXEC_PATH=$MAINPROFILE/libexec/git-core
if [ -e "$GUIXFONTFILE" ]; then
xset +fp $(dirname $(readlink -f "$GUIXFONTFILE"))
fi
hash guix
MANIFDIR=$HOME
PROFDIR=$HOME/.guix-profiles
MAINPROFILE=$HOME/.guix-profiles/pillar
THEGUIX=$HOME/.config/guix/current/bin/guix
GUIXFONTFILE=$MAINPROFILE/share/fonts/truetype/fonts.dir
NCPU=4
#!/bin/sh
# This runs bash.
if [ "x$BASH_VERSION" = "x" ]
then
exec bash "$0" "$@"
fi
. /usr/local/bin/enable-guix.sh
exec R "$@"
#!/bin/sh
# This runs bash.
if [ "x$BASH_VERSION" = "x" ]
then
exec bash "$0" "$@"
fi
. /usr/local/bin/enable-guix.sh
exec vncviewer "$@"
......@@ -21,6 +21,8 @@
tags: users
- include: tasks/guix.yml
tags: guix-full
- include: tasks/usr-local.yml
tags: usr-local
......
......@@ -143,19 +143,3 @@
delay: 5
until: result.rc == 0
loop: "{{ users }}"
# - name: Create new shinyscreen profile.
# command:
# cmd: >
# /usr/bin/bash -l -c
# 'guix package -c4
# -m /etc/guix_new_shinyscreen_manifest.scm
# -p "/home/{{ item.login }}/.prof-ss"
# --fallback'
# tags: guix-inst-pkg
# become_user: "{{ item.login }}"
# retries: 20
# delay: 5
# register: result
# until: result.rc == 0
# loop: "{{ users }}"
- name: Copy usr/local/bin
copy:
src: files/usr/local/bin/
dest: /usr/local/bin
mode: preserve
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment