mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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";
|
name = "checks";
|
||||||
help = "Run all nixvim checks";
|
help = "Run all nixvim checks";
|
||||||
command = "nix flake check";
|
command = "nix flake check '$@'";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "tests";
|
name = "tests";
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
command = ''
|
command = ''
|
||||||
echo "=> Running nixvim tests for the '${system}' architecture..."
|
echo "=> Running nixvim tests for the '${system}' architecture..."
|
||||||
|
|
||||||
${nix} build .#checks.${system}.tests
|
${nix} build .#checks.${system}.tests "$@"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
command = ''
|
command = ''
|
||||||
echo "=> Building nixvim documentation..."
|
echo "=> Building nixvim documentation..."
|
||||||
|
|
||||||
${nix} build .#docs
|
${nix} build .#docs "$@"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue