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
|
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 () {
|
main () {
|
||||||
ensure_shell "$@"
|
|
||||||
|
|
||||||
args "$@"
|
args "$@"
|
||||||
permissions
|
permissions
|
||||||
|
|
||||||
|
|
12
shell.nix
12
shell.nix
|
@ -1,12 +0,0 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
|
|
||||||
pkgs.mkShell {
|
|
||||||
buildInputs = with pkgs; [
|
|
||||||
age
|
|
||||||
];
|
|
||||||
|
|
||||||
shellHook = ''
|
|
||||||
alias nix="nix --experimental-features 'nix-command flakes'"
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue