summarylogtreecommitdiffstats
path: root/spack.csh
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.csh
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.csh')
-rw-r--r--spack.csh2
1 files changed, 2 insertions, 0 deletions
diff --git a/spack.csh b/spack.csh
index 90e1ca2a828..ddeecba05aa 100644
--- a/spack.csh
+++ b/spack.csh
@@ -1,3 +1,5 @@
setenv SPACK_ROOT /opt/spack
setenv PATH /opt/spack/bin:${PATH}
setenv MODULEPATH /var/lib/spack/modules/tcl/:${MODULEPATH}
+
+alias spack "pkexec --user spack ${SPACK_ROOT}/bin/spack $@"