mirror of
https://github.com/divnix/digga.git
synced 2024-12-18 05:31:30 +03:00
Fix: nix run -> nix shell
This commit is contained in:
parent
a42fb66827
commit
a08c7e5184
@ -10,9 +10,9 @@ let
|
|||||||
elif [[ $1 == "iso" ]]; then
|
elif [[ $1 == "iso" ]]; then
|
||||||
nix build ${configs}.niximg.${build}.isoImage
|
nix build ${configs}.niximg.${build}.isoImage
|
||||||
elif [[ -z $2 ]]; then
|
elif [[ -z $2 ]]; then
|
||||||
sudo -E nix run -vv ${configs}.${hostname}.${build}.toplevel -c switch-to-configuration $1
|
sudo -E nix shell -vv ${configs}.${hostname}.${build}.toplevel -c switch-to-configuration $1
|
||||||
else
|
else
|
||||||
sudo -E nix run -vv ${configs}.$1.${build}.toplevel -c switch-to-configuration $2
|
sudo -E nix shell -vv ${configs}.$1.${build}.toplevel -c switch-to-configuration $2
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
in pkgs.mkShell {
|
in pkgs.mkShell {
|
||||||
|
Loading…
Reference in New Issue
Block a user