Fix: Run NixOS wrappers in interactive shell

* Makes sure run configurations terminate properly.
This commit is contained in:
baldo 2022-05-19 13:34:09 +02:00
parent fde340ead0
commit 3c4f7d2875

View file

@ -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"
}