mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
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:
parent
95f72c9da7
commit
f6b2b5ea2a
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue