--extra-experimental-features "nix-command flakes"

This commit is contained in:
Alexander Tomokhov 2023-11-18 08:20:26 +04:00
parent 490cd38e4e
commit 9f23164bda

View file

@ -297,7 +297,9 @@ infect() {
# source ~/.nix-profile/etc/profile.d/nix.sh
cd ${LOCAL_FLAKE_DIR}
/root/.nix-profile/bin/nix flake lock --update-input sp-modules
/root/.nix-profile/bin/nix flake lock \
--extra-experimental-features "nix-command flakes" \
--update-input sp-modules
echo "nix build the configuration flake..."
if ! /root/.nix-profile/bin/nix build \