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 dabc675aa9
commit 061f25db39

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