nix flake lock --override-input sp-modules instead of --update-input

This commit is contained in:
Alexander Tomokhov 2023-12-20 16:41:42 +04:00
parent 0e6d5414f5
commit 1344aaa92c

View file

@ -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 \