From 8b0eba515d11c5312ae97d31514f68e4690c0c5c Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 4 Mar 2024 09:24:24 +0100 Subject: [PATCH] flake/devshell: forward cli args to commands --- flake-modules/dev/devshell.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake-modules/dev/devshell.nix b/flake-modules/dev/devshell.nix index 0049c23d..a47a2688 100644 --- a/flake-modules/dev/devshell.nix +++ b/flake-modules/dev/devshell.nix @@ -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 "$@" ''; } {