aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/maintainers/scripts/update-luarocks-shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/maintainers/scripts/update-luarocks-shell.nix')
-rw-r--r--nixpkgs/maintainers/scripts/update-luarocks-shell.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixpkgs/maintainers/scripts/update-luarocks-shell.nix b/nixpkgs/maintainers/scripts/update-luarocks-shell.nix
new file mode 100644
index 00000000000..23a940b3691
--- /dev/null
+++ b/nixpkgs/maintainers/scripts/update-luarocks-shell.nix
@@ -0,0 +1,9 @@
+{ nixpkgs ? import ../.. { }
+}:
+with nixpkgs;
+mkShell {
+ buildInputs = [
+ bash luarocks-nix nix-prefetch-scripts parallel
+ ];
+ LUAROCKS_NIXPKGS_PATH = toString nixpkgs.path;
+}