luarocks-packages-updater: run nix fmt automatically

Dont have time to invest in updating upstream formatting. Just format
with configured formatter.
This commit is contained in:
Austin Horstman 2025-05-18 09:36:07 -05:00
parent 95f72c9da7
commit f6b2b5ea2a
No known key found for this signature in database

View file

@ -143,6 +143,9 @@ class LuaEditor(pluginupdate.Editor):
print(f"updated {outfilename}")
# Format the generated file with nix fmt
subprocess.run(["nix", "fmt", outfilename], check=True)
@property
def attr_path(self):
return "luaPackages"