mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
flake/devshell: forward cli args to commands
This commit is contained in:
parent
8a330548ba
commit
8b0eba515d
1 changed files with 3 additions and 3 deletions
|
@ -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 "$@"
|
||||
'';
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue