update-luarocks: Use containing nixpkgs, ensure Lua drvs exist

This commit is contained in:
Alexei Robyn
2019-06-14 15:17:52 +10:00
parent 274715cbc3
commit 671e53af67
2 changed files with 20 additions and 6 deletions
@@ -0,0 +1,9 @@
{ nixpkgs ? import ../.. { }
}:
with nixpkgs;
mkShell {
buildInputs = [
bash luarocks-nix nix-prefetch-scripts parallel
];
LUAROCKS_NIXPKGS_PATH = toString nixpkgs.path;
}