summarylogtreecommitdiffstats
path: root/spack.sh
diff options
context:
space:
mode:
authorGuillaume Dollé2020-11-21 00:57:30 +0100
committerGuillaume Dollé2020-11-21 00:57:30 +0100
commitb68d40b868cdd6aaabd72b0cac6411d3c8740b45 (patch)
tree00e31c445377a552c2cac2e9291c570c4c65caec /spack.sh
parent77a5895bd80d7ede52e131a9c414d4517718b53a (diff)
downloadaur-spack.tar.gz
Fix relase 1 (config.yaml file)
Changelog: - Replace custom pkexec bin script with alias - Fix polkit script bin path - Update profile scripts with spack alias - all bin script are not moved anymore - Fix config.yaml install new behaviour (ignore last commit msg) Remark: - First install will require to reconnect to the session, or source the profile.d/spack.<shellext>
Diffstat (limited to 'spack.sh')
-rw-r--r--spack.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/spack.sh b/spack.sh
index 8c63271ede3..cc08967f11a 100644
--- a/spack.sh
+++ b/spack.sh
@@ -1,3 +1,5 @@
export SPACK_ROOT=/opt/spack
export PATH=/opt/spack/bin:${PATH}
export MODULEPATH=/var/lib/spack/modules/tcl/:${MODULEPATH}
+
+alias spack="pkexec --user spack ${SPACK_ROOT}/bin/spack $@"