Fix: Run NixOS wrappers in interactive shell
* Makes sure run configurations terminate properly.
This commit is contained in:
parent
fde340ead0
commit
3c4f7d2875
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue