From 1ff8e396cbb2c7ea684fc7b2e0542655ea48d601 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 26 Jun 2023 15:14:24 -0400 Subject: [PATCH] Allow passing args to `, run` --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6037a7c..3a46899 100644 --- a/flake.nix +++ b/flake.nix @@ -76,7 +76,9 @@ }; run = { - exec = ''cargo run''; + exec = '' + cargo run "$@" + ''; description = "Run the project executable"; };