From cb9a33497fb96262973c4c64ca767cb09e568dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Thu, 30 Jun 2022 15:59:48 -0300 Subject: [PATCH] generic-updater: fix nix edit command line Recently `nix edit` works only with `--extra-experimental-features nix-command` --- pkgs/common-updater/generic-updater.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/common-updater/generic-updater.nix b/pkgs/common-updater/generic-updater.nix index df47df14b85b..7a919ff5845e 100644 --- a/pkgs/common-updater/generic-updater.nix +++ b/pkgs/common-updater/generic-updater.nix @@ -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