fixed global justfile

This commit is contained in:
randogoth 2026-02-05 10:13:27 +02:00
parent 9bf7ae2497
commit 2a5cdbf8e9
2 changed files with 7 additions and 4 deletions

View file

@ -57,8 +57,5 @@ let
in
{
# Global Just recipes (system-wide). Used when `XDG_CONFIG_DIRS` includes `/etc/xdg` (default).
environment.etc."xdg/just/justfile".text = justfileText;
# Make `just` pick up the global justfile by default (otherwise it only searches CWD/parents).
environment.sessionVariables.JUSTFILE = "/etc/xdg/just/justfile";
environment.etc."just/justfile".text = justfileText;
}