From 061f25db398a4f0e4142514bec87a3b61c893ce4 Mon Sep 17 00:00:00 2001 From: baldo Date: Thu, 19 May 2022 13:34:09 +0200 Subject: [PATCH] Fix: Run NixOS wrappers in interactive shell * Makes sure run configurations terminate properly. --- nix/lib.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/lib.inc.sh b/nix/lib.inc.sh index 0e83f35..99eabc9 100644 --- a/nix/lib.inc.sh +++ b/nix/lib.inc.sh @@ -6,5 +6,5 @@ function wrap() { SHELL_NIX="$REPO/shell.nix" QUOTED_ARGS="$(printf "${1+ %q}" "$@")" - exec nix-shell "$SHELL_NIX" --pure --command "$TOOL $QUOTED_ARGS" + exec nix-shell "$SHELL_NIX" --pure --run "$TOOL $QUOTED_ARGS" }