do not cd into ${LOCAL_FLAKE_DIR}

This commit is contained in:
Alexander Tomokhov 2023-11-18 19:28:33 +04:00
parent fdfd074e27
commit daf4390cc9

View file

@ -296,8 +296,7 @@ infect() {
# is it needed? # is it needed?
# source ~/.nix-profile/etc/profile.d/nix.sh # source ~/.nix-profile/etc/profile.d/nix.sh
cd ${LOCAL_FLAKE_DIR} /root/.nix-profile/bin/nix flake lock ${LOCAL_FLAKE_DIR} \
/root/.nix-profile/bin/nix flake lock \
--extra-experimental-features "nix-command flakes" \ --extra-experimental-features "nix-command flakes" \
--update-input sp-modules --update-input sp-modules