Fix: Run NixOS wrappers in interactive shell
* Makes sure run configurations terminate properly.
This commit is contained in:
parent
dabc675aa9
commit
061f25db39
|
@ -6,5 +6,5 @@ function wrap() {
|
||||||
|
|
||||||
SHELL_NIX="$REPO/shell.nix"
|
SHELL_NIX="$REPO/shell.nix"
|
||||||
QUOTED_ARGS="$(printf "${1+ %q}" "$@")"
|
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