update-luarocks-packages: use the current nixpkgs

restore the behavior of the previous updater that was using the current revision of nixpkgs instead of an outer one

Changed files
+6 -4
maintainers
+2 -1
maintainers/scripts/update-luarocks-packages
···
#!/usr/bin/env nix-shell
-
#!nix-shell -p nix-prefetch-git luarocks-nix python3 python3Packages.GitPython nix -i python3
+
#!nix-shell update-luarocks-shell.nix -i python3
+
# format:
# $ nix run nixpkgs.python3Packages.black -c black update.py
+4 -3
maintainers/scripts/update-luarocks-shell.nix
···
{ nixpkgs ? import ../.. { }
}:
with nixpkgs;
+
let
+
pyEnv = python3.withPackages(ps: [ ps.GitPython ]);
+
in
mkShell {
packages = [
-
bash
+
pyEnv
luarocks-nix
nix-prefetch-scripts
-
parallel
];
-
LUAROCKS_NIXPKGS_PATH = toString nixpkgs.path;
}