flake/devshell: forward cli args to commands

This commit is contained in:
Gaetan Lepage 2024-03-04 09:24:24 +01:00 committed by Gaétan Lepage
parent 8a330548ba
commit 8b0eba515d

View file

@ -19,7 +19,7 @@
{
name = "checks";
help = "Run all nixvim checks";
command = "nix flake check";
command = "nix flake check '$@'";
}
{
name = "tests";
@ -27,7 +27,7 @@
command = ''
echo "=> Running nixvim tests for the '${system}' architecture..."
${nix} build .#checks.${system}.tests
${nix} build .#checks.${system}.tests "$@"
'';
}
{
@ -41,7 +41,7 @@
command = ''
echo "=> Building nixvim documentation..."
${nix} build .#docs
${nix} build .#docs "$@"
'';
}
{