diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-08-19 10:44:27 +0200 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-01-30 18:07:22 -0500 |
commit | cdc8fe63d5db0a1c6c29ff29e13ed5849459fefe (patch) | |
tree | 9d5e91adf8aa9d994ab197310694021c679dd29c /tests/crate.scm | |
parent | 2214b7b78d34a0e4d574b743dbeb8457356f6cff (diff) | |
download | guix-cdc8fe63d5db0a1c6c29ff29e13ed5849459fefe.tar.gz guix-cdc8fe63d5db0a1c6c29ff29e13ed5849459fefe.zip |
guix: qt-utils: Wrapped executables honor user's envvars.
Prior to this change, wrappers did set the specified environment variables to
a fixed value, overwriting any user settings. This inhibited propagating
e.g. XDG_DATA_DIRS from a profile to the application.
Now user environment variables are prefixed (if the variable defines some
"binary" search path, e.g. QT_PLUGIN_PATH) or suffixed (if the variable
defines some config or data search path, e.g. XDG_DATA_DIRS). The code could
also allow to overwrite, anyhow currently no variable is defined like this.
* guix/build/qt-utils.scm (variables-for-wrapping): For each env-var to
be wrapped, specify whether it should prefix, suffix or overwrite the
user's variable.
Diffstat (limited to 'tests/crate.scm')
0 files changed, 0 insertions, 0 deletions