shell no longer needed
This commit is contained in:
parent
3fb105fa1c
commit
24ceb47775
2 changed files with 0 additions and 21 deletions
|
@ -158,16 +158,7 @@ reboot_on_consent() {
|
|||
fi
|
||||
}
|
||||
|
||||
ensure_shell() {
|
||||
if [ -z "$IN_NIX_SHELL" ]; then
|
||||
echo "Restarting script in nix-shell environment."
|
||||
exec nix-shell shell.nix --run "bash $0 $*"
|
||||
fi
|
||||
}
|
||||
|
||||
main () {
|
||||
ensure_shell "$@"
|
||||
|
||||
args "$@"
|
||||
permissions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue