generic-updater: fix nix edit command line

Recently `nix edit` works only with `--extra-experimental-features nix-command`
This commit is contained in:
José Romildo 2022-06-30 15:59:48 -03:00
parent bb0b02cc71
commit cb9a33497f

View file

@ -92,7 +92,7 @@ let
if [ -n "$latest_tag" ]; then
# print commands to commit the changes
if [ "$version" != "$latest_tag" ]; then
pfile=$(EDITOR=echo ${nix}/bin/nix edit -f. "$attr_path")
pfile=$(EDITOR=echo ${nix}/bin/nix edit --extra-experimental-features nix-command -f. "$attr_path")
echo " git add $pfile " >> ${fileForGitCommands}
echo " git commit -m '$attr_path: $version -> $latest_tag'" >> ${fileForGitCommands}
fi