| Commit message (Collapse) | Author | Age |
|\ |
|
| | |
|
| | |
|
|/
|
|
|
| |
That is because this commit should be merged to both master and
release-19.09.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|\
| |
| | |
Lua/luarocks packaging improvements
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
luaPackages replaced by generated ones:
- bit32
- compat53
- cqueues
- luacyrussasl -> cyrussasl (luarocks name)
- luaexpat
- luadbi -> luadbi front-end module + separate backend modules
luadbi-{mysql,postgresql,sqlite3}
- luafilesystem
- luaossl
- luasec
- luasocket
- luastdlib -> stdlib (luarocks name)
- lrexlib -> lrexlib-pcre (we already have lrexlib-gnu and
lrexlib-posix, lrexlib-pcre however appears to be the variant used in
mudlet, which is the only current dep in nixpkgs)
- luasqlite -> luasql-sqlite3 (luarocks name)
- lfs -> luafilesytem (we literally had two manually written
luafilesystem expressions, under different names)
Changes and additions to overrides to generated luarocks packgaes,
including:
- busted: Install bash completions along with the zsh ones
- cqueues:
- Perform minor surgery on the rockspec to allow using a single
rockspec to build for all supported Lua versions
- Add a patch by @vcunat to work around a build issue
- luuid: Wrote a tiny patch to allow for Lua 5.1/Luajit compatibility
- General changes:
- Sorted the packages
- Attempted to make the formatting consistent
- Preferenced `.override` instead of `.overrideAttrs` wherever
possible
Minor changes to other packages to adjust for the Lua package changes:
- luakit expression simplified
- prosody expression simplified; but users will now need to specify the
luadbi backend module they intend to use in withExtraLibs
- knot-resolver inputs correctd
- mudlet inputs corrected (although this package was and should still be
broken)
|
|/
|
|
|
|
| |
* treewide: remove unused variables
* making ofborg happy
|
| |
|
|
|
|
| |
and move to generated
|
| |
|
| |
|
|
|
|
|
| |
Renamed from luazlib to luarocks name lua-zlib.
Move to generated.
|
| |
|
| |
|
|
|
|
| |
https://github.com/brunoos/luasec/blob/luasec-0.8/CHANGELOG
|
|
|
|
| |
I'm in particular interested in :setCertificateChain()
|
|
|
|
|
|
| |
One bugfix patch is included - merged upstream but not released yet.
knot-resolver wrapper would need to add binaryheap explicitly,
so it's migrated to the automatic LUA path discovery instead.
|
|
|
|
|
|
| |
Test case that should execute without an error:
echo "require('ssl.https')" | env NIX_PATH=nixpkgs=$(pwd) \
nix-shell --pure -p lua -p lua.pkgs.luasec --run lua
|
|
|
|
|
|
| |
Test case that should execute without an error:
echo "require('compat53')" | env NIX_PATH=nixpkgs=$(pwd) \
nix-shell --pure -p lua -p lua.pkgs.compat53 --run lua
|
|\
| |
| | |
lua: std._debug / std.normalize rename + move to automated.
|
| |
| |
| |
| |
| |
| |
| | |
Similarly rename std.normalize to std_normalize.
Having a dot in the name prevents some changes to the lua infrastructure,
for instance passing attribute names { std._debug }: to a function would fail with
`syntax error, unexpected ',', expecting '.' or '=',`
|
|/
|
|
| |
It's a workaround for now, until we know more. See upstream ticket.
|
|\
| |
| | |
Luarocks update
|
| |
| |
| |
| |
| | |
This was leftover from early implementations.
The overrides are passed via packageOverrides in lua-modules/default.nix
|
| |
| |
| |
| | |
it was previously run only for src.rock
|
|/ |
|
|
|
|
|
| |
This reverts commit c01fe375ca192395af8ae8c575ff8eaa79ed03d8.
See the reverted commit on GitHub for discussion. /cc PR #55305.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* neovim-unwrapped: now use lua environments
* mpv: use lua environments
* luaPackages.inspect: init at 3.1.1-0
* luaPackages.lgi: mark as a lua module
* luaPackages.vicious: mark as a lua module
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lua: generate packages from luarocks
* luarocks-nix: update
* removed packages already available in nixpkgs
* adressing reviews
update script can now accept another csv file as input with -c
* Remove obsolete comment
|
|
|
|
|
|
|
| |
* lua: add withPackages function
First step towards more automation similar to the haskell backend.
Follow up of https://github.com/NixOS/nixpkgs/pull/33903
|
|
|
|
|
|
| |
luarocks-nix is a fork of luarocks that adds a "nix" command capable of
converting luarocks package descriptions into nix derivations (though nixpkgs is
still missing the lua infrastructure).
|
| |
|
|
|
|
| |
camelCase package name was a huge inconsistency in GNOME package set.
|
| |
|
|
|
|
| |
Switch to maintained fork that is compatible with lua5.2/lua5.3.
This package was tested with prosody.
|
| |
|
| |
|
|
|
|
|
| |
The manual compilation is weird, but there's only a rockspec upstream,
and I don't know how to use that well inside the nix build.
|