1

new shell commands

This commit is contained in:
2022-08-15 16:17:20 +02:00
parent 8375ecb49d
commit a16901165f

View File

@ -34,6 +34,11 @@ pkgs.devshell.mkShell {
help = "Compare current system to ./result"; help = "Compare current system to ./result";
command = "nvd diff /run/current-system result"; command = "nvd diff /run/current-system result";
} }
{
name = "util-data-dirs";
help = "List XDG_DATA_DIRS in a readable format";
command = ''echo $XDG_DATA_DIRS | sed "s/:/\n/g" | sort -u'';
}
# Flake # Flake
{ {
@ -46,6 +51,11 @@ pkgs.devshell.mkShell {
help = "Validate the flake"; help = "Validate the flake";
command = "nix flake check"; command = "nix flake check";
} }
{
name = "flake-trace";
help = "Validate the flake with stack trace";
command = "nix flake check --show-trace";
}
# Nix Store # Nix Store
{ {