commit d86e80da6a1d12d323b1cdd08768853149bae5a8
parent 379399a5fbd79c43cb438133f65c79bd79aff1e0
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 21 May 2020 15:08:10 +0200
install.sh: fix subshell and nix-install command
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/install.sh b/install.sh
@@ -52,7 +52,8 @@ echo "Run the following:"
echo "- populate assets/ folder"
echo "- do last minutes changes"
echo "Once you are done, just exit the shell (C-D or exit)"
-bash
+bash || true
echo "Run nixos-install"
-nixos-install --channel $(nix eval --raw '(import nix/sources.nix).nixos.outPath') --no-channel-copy
+set -x
+nixos-install --channel $(nix eval --raw '(import /mnt/etc/nixos/nix/sources.nix).nixos.outPath') --no-channel-copy