Unverified Commit 5245680c authored by Austin Horstman's avatar Austin Horstman
Browse files

luarocks-packages-updater: remove nix-commands dependency



Make it functional without experimental features.

Signed-off-by: default avatarAustin Horstman <khaneliman12@gmail.com>
parent ec57e782
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
{
  nix,
  nixfmt,
  makeWrapper,
  python3Packages,
  lib,
@@ -15,6 +16,7 @@ let

  path = lib.makeBinPath [
    nix
    nixfmt
    nix-prefetch-scripts
    luarocks-nix
    lua5_1
+2 −2
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ class LuaEditor(nixpkgs_plugin_update.Editor):
        print(f"updated {outfilename}")

        # Format the generated file with nixfmt
        subprocess.run(["nix", "fmt", outfilename], check=True)
        subprocess.run(["nixfmt", outfilename], check=True)

    @property
    def attr_path(self):