summary refs log tree commit diff
path: root/maintainers/scripts/update-luarocks-shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'maintainers/scripts/update-luarocks-shell.nix')
-rw-r--r--maintainers/scripts/update-luarocks-shell.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/maintainers/scripts/update-luarocks-shell.nix b/maintainers/scripts/update-luarocks-shell.nix
new file mode 100644
index 00000000000..a58674fca8d
--- /dev/null
+++ b/maintainers/scripts/update-luarocks-shell.nix
@@ -0,0 +1,13 @@
+{ nixpkgs ? import ../.. { }
+}:
+with nixpkgs;
+let
+  pyEnv = python3.withPackages(ps: [ ps.GitPython ]);
+in
+mkShell {
+  packages = [
+    pyEnv
+    luarocks-nix
+    nix-prefetch-scripts
+  ];
+}