luarocks-packages-updater: remove nix-commands dependency (#487348)

This commit is contained in:
Austin Horstman
2026-02-05 18:45:03 +00:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
@@ -1,5 +1,6 @@
{
nix,
nixfmt,
makeWrapper,
python3Packages,
lib,
@@ -15,6 +16,7 @@ let
path = lib.makeBinPath [
nix
nixfmt
nix-prefetch-scripts
luarocks-nix
lua5_1
@@ -161,8 +161,8 @@ class LuaEditor(nixpkgs_plugin_update.Editor):
print(f"updated {outfilename}")
# Format the generated file with nix fmt
subprocess.run(["nix", "fmt", outfilename], check=True)
# Format the generated file with nixfmt
subprocess.run(["nixfmt", outfilename], check=True)
@property
def attr_path(self):