summaryrefslogtreecommitdiff
path: root/pkgs/development/lua-modules/generic/default.nix (follow)
Commit message (Expand)AuthorAgeFilesLines
* treewide: run nixfmt 1.0.0Wolfgang Walther2025-07-241-1/+2
* lua{54,Jit}Packages.lua-pam: mark as broken•••Removes the roll-your-own-broken-attribute that `disabled` was. The advantage of `meta.broken`: It can be caught and properly handled by CI, while the custom `throw` can not. Wolfgang Walther2025-07-191-20/+16
* treewide: format all inactive Nix files•••After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH Silvan Mosberger2024-12-101-20/+28
* buildLuaPackage: make makeFlags expandableSandro Jäckel2022-12-261-9/+8
* update-luarocks-packages: support in-repo rockspecs•••to handle derivations that are not registered or updated on luarocks.org, for instance neovim plugins. Matthieu Coudron2021-08-291-1/+1
* buildLuaPackage: pass propagatedBuildInputs to final derivation (#108311)•••propagatedBuildInputs was completely overridden in the processLuka Blašković2021-01-031-4/+7
* lua*Packages: Consolidate separate setup hooks together•••- Lua packages now consistently use LUA_PATH/LUA_CPATH rather than a mix of those and NIX_LUA_PATH/NIX_LUA_CPATH - Lua libraries are now consistently only added to the search path variables if: 1) The library actually has a corresponding directory to search 2) The library is not already present in the search path This should help prevent the search paths from growing overly large - Fixed bugs in some path helpers - Changed the affected shell script indentation to 2 spaces; nixpkgs shell scripts are inconsistently split between 2 and 4 space indentation, but 2 matches better with the Nix expressions, so IMO it makes more sense Alexei Robyn2019-09-011-33/+4
* lua: add withPackages function (#54460)•••* lua: add withPackages function First step towards more automation similar to the haskell backend. Follow up of https://github.com/NixOS/nixpkgs/pull/33903 Matthieu Coudron2019-01-301-3/+3
* lua packages: add init.lua to modules search pathLuka Blaskovic2018-05-241-2/+2
* lua packages: propagate libs with a setupHook•••The LUA_PATH and LUA_CPATH variables are needed to load libraries. This setupHook exports them to the environment. Luka Blaskovic2018-02-251-1/+32
* buildLuaPackage: set makeFlags directly instead of through preBuild•••So that lua packages can override it without having to resort to setting makeFlagsArray in preBuild. xd1le2017-10-101-8/+7
* Assertion throws err message on fail in buildLuaPackagewyvie2014-09-231-18/+19
* Added luaPackages, moved lua sockets and lua filesystem to luaPackages, fixed...wyvie2014-09-231-0/+23