mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
generic-updater: fix nix edit command line
Recently `nix edit` works only with `--extra-experimental-features nix-command`
This commit is contained in:
parent
bb0b02cc71
commit
cb9a33497f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user