From 9f23164bdafa63e4413d116c52d2c83388d17002 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Sat, 18 Nov 2023 08:20:26 +0400 Subject: [PATCH] --extra-experimental-features "nix-command flakes" --- nixos-infect | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index f23665e..c7e50db 100755 --- a/nixos-infect +++ b/nixos-infect @@ -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 \