tvl-depot/users/Profpatsch/xdg-cache-home.nix
Profpatsch 5c57529675 feat(users/Profpatsch): add xdg-cache-home
Change-Id: I0f4efa16426f590cee9332d11c13dd07569b4acb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12475
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
2024-09-13 13:44:03 +00:00

14 lines
194 B
Nix

{ depot, pkgs, lib, ... }:
depot.nix.writeExecline "xdg-cache-home" { } [
"if"
"-n"
[
"printenv"
"XDG_CACHE_HOME"
]
"importas"
"HOME"
"HOME"
"echo"
"\${HOME}/.cache"
]