Arbitrarty nix flake requests acsess to ~/.cache/nix/tarball-cache
but fails with
error:
… while evaluating a branch condition
at /nix/store/p0clwyc7lhl1xrrxx4lfywsygz4xprzb-source/lib/trivial.nix:893:27:
892| */
893| throwIfNot = cond: msg: if cond then x: x else throw msg;
| ^
894|
… in the left operand of the OR (||) operator
at /nix/store/p0clwyc7lhl1xrrxx4lfywsygz4xprzb-source/lib/trivial.nix:1023:41:
1022| */
1023| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
| ^
1024|
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: opening Git repository "/home/dark/.cache/nix/tarball-cache": could not find repository at '/home/dark/.cache/nix/tarball-cache'
Running the flake as root works fine, so what am I doing wrong ?