From 1344aaa92cc6c784d53cec81d9e3819e6e65e2e0 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Wed, 20 Dec 2023 16:41:42 +0400 Subject: [PATCH] `nix flake lock --override-input sp-modules` instead of --update-input --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index eb4daab..68f211e 100755 --- a/nixos-infect +++ b/nixos-infect @@ -423,7 +423,7 @@ infect() { # see https://github.com/NixOS/nix/issues/3978#issuecomment-952418478 /root/.nix-profile/bin/nix flake lock ${LOCAL_FLAKE_DIR} \ --extra-experimental-features "nix-command flakes" \ - --update-input sp-modules + --override-input sp-modules ${LOCAL_FLAKE_DIR}/sp-modules echo "nix build the configuration flake..." if ! /root/.nix-profile/bin/nix build \