mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-23 10:10:47 +03:00
Merge pull request #280 from Kreyren/patch-3
age-home: Use curly-brackets for XDG_RUNTIME_DIR
This commit is contained in:
commit
f6291c5935
1 changed files with 2 additions and 2 deletions
|
@ -146,12 +146,12 @@ with lib; let
|
||||||
baseDir =
|
baseDir =
|
||||||
if isDarwin
|
if isDarwin
|
||||||
then "$(getconf DARWIN_USER_TEMP_DIR)"
|
then "$(getconf DARWIN_USER_TEMP_DIR)"
|
||||||
else "$XDG_RUNTIME_DIR";
|
else "\${XDG_RUNTIME_DIR}";
|
||||||
in "${baseDir}/${dir}";
|
in "${baseDir}/${dir}";
|
||||||
|
|
||||||
userDirectoryDescription = dir:
|
userDirectoryDescription = dir:
|
||||||
literalExpression ''
|
literalExpression ''
|
||||||
"$XDG_RUNTIME_DIR"/${dir} on linux or "$(getconf DARWIN_USER_TEMP_DIR)"/${dir} on darwin.
|
"${XDG_RUNTIME_DIR}"/${dir} on linux or "$(getconf DARWIN_USER_TEMP_DIR)"/${dir} on darwin.
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
options.age = {
|
options.age = {
|
||||||
|
|
Loading…
Reference in a new issue