diff options
author | Alexei Robyn <shados@shados.net> | 2019-06-14 15:17:52 +1000 |
---|---|---|
committer | Alexei Robyn <shados@shados.net> | 2019-06-14 15:17:52 +1000 |
commit | 671e53af6736630cad70e8c404f263c8720ae3a1 (patch) | |
tree | 41b1e958e48976ec8857f4311d0ad1f4a1fa1aec /maintainers/scripts/update-luarocks-shell.nix | |
parent | 274715cbc355e9d50e07a2f60a65a183f7d9855d (diff) | |
download | nixpkgs-671e53af6736630cad70e8c404f263c8720ae3a1.tar nixpkgs-671e53af6736630cad70e8c404f263c8720ae3a1.tar.gz nixpkgs-671e53af6736630cad70e8c404f263c8720ae3a1.tar.bz2 nixpkgs-671e53af6736630cad70e8c404f263c8720ae3a1.tar.lz nixpkgs-671e53af6736630cad70e8c404f263c8720ae3a1.tar.xz nixpkgs-671e53af6736630cad70e8c404f263c8720ae3a1.tar.zst nixpkgs-671e53af6736630cad70e8c404f263c8720ae3a1.zip |
update-luarocks: Use containing nixpkgs, ensure Lua drvs exist
Diffstat (limited to 'maintainers/scripts/update-luarocks-shell.nix')
-rw-r--r-- | maintainers/scripts/update-luarocks-shell.nix | 9 |
1 files changed, 9 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..23a940b3691 --- /dev/null +++ b/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; +} |