Skip to content

Commit f6291c5

Browse files
authored
Merge pull request #280 from Kreyren/patch-3
age-home: Use curly-brackets for XDG_RUNTIME_DIR
2 parents 3f1dae0 + e341399 commit f6291c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/age-home.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ with lib; let
146146
baseDir =
147147
if isDarwin
148148
then "$(getconf DARWIN_USER_TEMP_DIR)"
149-
else "$XDG_RUNTIME_DIR";
149+
else "\${XDG_RUNTIME_DIR}";
150150
in "${baseDir}/${dir}";
151151

152152
userDirectoryDescription = dir:
153153
literalExpression ''
154-
"$XDG_RUNTIME_DIR"/${dir} on linux or "$(getconf DARWIN_USER_TEMP_DIR)"/${dir} on darwin.
154+
"${XDG_RUNTIME_DIR}"/${dir} on linux or "$(getconf DARWIN_USER_TEMP_DIR)"/${dir} on darwin.
155155
'';
156156
in {
157157
options.age = {

0 commit comments

Comments
 (0)