about summary refs log tree commit diff
path: root/users/Profpatsch/xdg-cache-home.nix
blob: 6dc02b7f1d6612480b62da16c0ac259fd5c41432 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ depot, pkgs, lib, ... }:
depot.nix.writeExecline "xdg-cache-home" { } [
  "if"
  "-n"
  [
    "printenv"
    "XDG_CACHE_HOME"
  ]
  "importas"
  "HOME"
  "HOME"
  "echo"
  "\${HOME}/.cache"
]