summarylogtreecommitdiffstats
path: root/spack.sh
diff options
context:
space:
mode:
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 $@"