Unverified Commit f6b2b5ea authored by Austin Horstman's avatar Austin Horstman
Browse files

luarocks-packages-updater: run nix fmt automatically

Dont have time to invest in updating upstream formatting. Just format
with configured formatter.
parent 95f72c9d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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"