use pkgs
This commit is contained in:
parent
9edb178786
commit
d796cc5de4
1 changed files with 2 additions and 1 deletions
|
|
@ -152,7 +152,8 @@ let
|
|||
dir:
|
||||
let
|
||||
inherit (pkgs.stdenv.hostPlatform) isDarwin;
|
||||
baseDir = if isDarwin then "$(getconf DARWIN_USER_TEMP_DIR)" else "\${XDG_RUNTIME_DIR}";
|
||||
baseDir =
|
||||
if isDarwin then "$(${lib.getExe pkgs.getconf} DARWIN_USER_TEMP_DIR)" else "\${XDG_RUNTIME_DIR}";
|
||||
in
|
||||
"${baseDir}/${dir}";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue