Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/maintainers/scripts/update-luarocks-shell.nix

13 lines
191 B
Nix
Raw Normal View History

update-luarocks: Use containing nixpkgs, ensure Lua drvs exist
2019-06-14 15:17:52 +10:00
{ nixpkgs ? import ../.. { }
}:
with nixpkgs;
mkShell {
mkShell: introduce packages argument (#122180) The distinction between the inputs doesn't really make sense in the mkShell context. Technically speaking, we should be using the nativeBuildInputs most of the time. So in order to make this function more beginner-friendly, add "packages" as an attribute, that maps to nativeBuildInputs. This commit also updates all the uses in nixpkgs.
2021-05-13 19:17:29 +02:00
packages = [
bash
luarocks-nix
nix-prefetch-scripts
parallel
update-luarocks: Use containing nixpkgs, ensure Lua drvs exist
2019-06-14 15:17:52 +10:00
];
LUAROCKS_NIXPKGS_PATH = toString nixpkgs.path;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 381ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API