luarocks-packages-updater: remove nix-commands dependency (#487348)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user