diff options
author | Nicolas Derumigny | 2021-03-03 13:26:16 +0100 |
---|---|---|
committer | Nicolas Derumigny | 2021-03-03 15:04:58 +0100 |
commit | 7b8b3a07aa22ec15b061f78b35719fc61e2e6a57 (patch) | |
tree | ae303975d5d86a260491e528f3d615c4b7f9a60d /spack.pkaction | |
parent | 415e8c13400648b429b2eeda960d23a27d991fde (diff) | |
download | aur-7b8b3a07aa22ec15b061f78b35719fc61e2e6a57.tar.gz |
pkexec: passing (nearly) all env variables to spack
This resolves `spack unload` which was not working properly due
to `$SPACK_LOADED_HASHES` incorrectly set.
Diffstat (limited to 'spack.pkaction')
-rw-r--r-- | spack.pkaction | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spack.pkaction b/spack.pkaction index 2e6360fdc3e8..93c2ea4738d9 100644 --- a/spack.pkaction +++ b/spack.pkaction @@ -11,8 +11,7 @@ <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin</allow_active> </defaults> - <annotate key="org.freedesktop.policykit.exec.path">/opt/spack/bin/spack</annotate> - <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/env</annotate> </action> </policyconfig> |