Commit Graph

344 Commits

Author SHA1 Message Date
Matthieu C.
88f31dcaa4 luaPackages.sqlite: make it work out of the box
the tests worked because we exported LIBSQLITE. the user had to either set LIBSQLITE himself or set vim.g.sqlite_clib_path. This change overrides vim.g.sqlite_clib_path

(cherry picked from commit 33aa75a8c5)
2024-05-30 13:12:45 +00:00
Matthieu C.
3248063613 luaPackages.toml: remove debug leftover
we dont need to cat CMakeLists.txt.

So you dont know about git blame ? Gooooodd

(cherry picked from commit 9514983467)
2024-05-30 13:12:45 +00:00
github-actions[bot]
cbf353fd83
luaPackages.toml-edit: unbreak on darwin (#314611)
* luaPackages.toml-edit: unbreak on darwin

(cherry picked from commit b0b63ae37c)

* use lua.pkgs.isLuaJIT

(cherry picked from commit a9bf74b3ad)

---------

Co-authored-by: Mathis Antony <sveitser@gmail.com>
2024-05-26 12:23:27 +02:00
Sandro Jäckel
b4b099c6e9 luaPackages.psl: init at 0.3
(cherry picked from commit 12a5234a61)
2024-05-25 06:46:54 +00:00
Jakob Beckmann
9ae49e368a
chore: add luajitPackages.luatext, lua51Packages.luatext, lua52Packages.luatext, lua53Packages.luatext, lua54Packages.luatext 2024-05-14 12:33:18 +02:00
Leah Amelia Chen
900dacfb78 luaPackages.toml: unbreak
Regression introduced by commit 199efdb1de
2024-05-13 20:21:19 +02:00
Jan Tojnar
4be4408157 Merge branch 'master' into staging-next
; Conflicts:
;	maintainers/scripts/luarocks-packages.csv
;	pkgs/development/lua-modules/generated-packages.nix
2024-05-11 12:47:40 +02:00
Pol Dellaiera
3fe064a63f
Merge pull request #309762 from GaetanLepage/luasnip
luaPackages.luasnip: 2.2.0-1 -> 2.3.0-1
2024-05-10 10:53:25 +02:00
Petingoso
e5457f657b lua51Packages.nfd: feat added postInstallCheck for test
lua51Packages.nfd: cleanup duplicate line

lua51Packages.nfd: cleanup useless undefined hooks

lua51Packages.nfd: squashed commits

lua51Packages.nfd: change to generic buster
2024-05-09 15:53:55 +02:00
Petingoso
c4bd61ba34 lua51Packages.nfd: fix module not loading
As this (issue)[https://github.com/NixOS/nixpkgs/issues/295022] complains, it wasn't
finding symbols properly.

I traced it to the (migration)[https://github.com/NixOS/nixpkgs/pull/288669] from buildLuarocksPackage.extraVariables to
buildLuarocksPackage.luarocksConfig.variables where someone forgot to
add .variables.

It now launches the dialogue properly.
2024-05-09 15:53:55 +02:00
Marc Jakobi
e8f3c74367 luaPackages.tree-sitter-norg: init at 0.2.4-1 2024-05-09 15:31:35 +02:00
github-actions[bot]
05abe113a9
Merge master into staging-next 2024-05-08 12:01:20 +00:00
Enric Morales
492d273968
lua54Packages.lgi: mark as broken with Lua versions < 5.1 or >= 5.4 2024-05-08 10:20:05 +02:00
Gaetan Lepage
23e470c352 luaPackages.luasnip: 2.2.0-1 -> 2.3.0-1
Changelog: https://github.com/L3MON4D3/LuaSnip/releases/tag/v2.3.0
2024-05-07 09:24:06 +02:00
Matthieu C.
f18e2b8926 luaPackages.rtoml: 0.4 -> 0.3
0.4 doesnt build and I dont want to investigate
2024-05-01 00:19:58 +02:00
Matthieu C.
199efdb1de luaPackages.vusted: fix build by setting bounds 2024-05-01 00:19:58 +02:00
Matthieu C.
e5a0a45882 luaPackages.fzy-lua: fix tests 2024-05-01 00:19:58 +02:00
Matthieu C.
ed2e4feeac luaPackages.busted: fix substitution
using --replace-fail to make sure it pops up next time
2024-05-01 00:19:58 +02:00
Matthieu C.
8969993572 luaPackages.rtp-nvim: init at 1.0
it's a required dependency of rocks-nvim
2024-05-01 00:19:58 +02:00
Matthieu C.
779d38cb13 rocks-dev-nvim: rolled back because of missing dependency rtp-nvim 2024-05-01 00:19:58 +02:00
Matthieu Coudron
80011bef3c luaPackages: update on 2024-04-21
luaPackages.rlua-toml: fix overrides

luaPackages.dkjson: rollback changes

because of this checksum issue...

luaPackages: update on 2024-04-29
2024-05-01 00:11:50 +02:00
Matthieu C.
a4d954080f lua: fixed the way to create environments
`paths =  requiredLuaModules (extraLibs ++ [ lua ] );` would discard lua
and so in absence of a propagated lua, the lua.withPackages would return
an empty bin/ directory.
2024-05-01 00:11:49 +02:00
Matthieu C.
9e22d74930 luarocks-packages.csv: changed repo by rockspec uri
This is a breaking change that converts the 'src' csv column (a git URI) to a 'rockspec'
fullpath uri.
before this, luarocks-nix would clone the repo and look for rockspecs
with a brittle algorithm. This removes the ambiguity on which rockspec
to package while allowing to remove a bunch of brittle code from
luarocks-nix.
2024-05-01 00:11:49 +02:00
Vladimír Čunát
d157c07324
Merge branch 'master' into staging-next 2024-04-25 20:43:34 +02:00
Vladimír Čunát
b9a7c64a9e
luaPackages.dkjson: fixup hashes
This partially reverts 063fa3f37d.
I don't know why this happened; /cc PR #294057
2024-04-25 20:41:56 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
github-actions[bot]
3fc84a9b46
Merge staging-next into staging 2024-04-21 18:01:29 +00:00
teto sse
a204cd05a1 luaPackages.haskell-tools-nvim: enable tests
limited to 5.1 as nlua uses neovim as lua interpreter, which is 5.1
2024-04-21 17:37:27 +02:00
teto sse
dc40530573 luaPackages.nlua: disable patchShebangAuto
the automatic shebang patch adds a -l in the shebang which nlua picks up and aborts saying it doesn't accept -l
2024-04-21 17:21:56 +02:00
Gaetan Lepage
1c8e4a0700 luaPackages.toml: fix build 2024-04-13 01:27:56 +02:00
Gaetan Lepage
cad647ca6f luaPackages.lua-resty-openidc: fix build 2024-04-13 01:27:56 +02:00
Gaetan Lepage
8a79a0eaa1 luaPackages.vusted: fix build 2024-04-13 01:27:56 +02:00
Gaetan Lepage
1bb142edc7 luaPackages.luasnip: fix build 2024-04-13 01:27:56 +02:00
Gaetan Lepage
13fc1a9154 luaPackages.fzy: fix build 2024-04-13 01:27:56 +02:00
Gaetan Lepage
883caebc34 luaPackages.busted: fix build 2024-04-13 01:27:56 +02:00
Gaetan Lepage
063fa3f37d luaPackages: update on 2024-04-12 2024-04-13 01:27:56 +02:00
Marc Jakobi
28555cdd35 luaPackages.toml-edit: 0.1.5-1 -> 0.3.6-1 2024-04-12 19:23:04 +02:00
Gaetan Lepage
69ef9cc676 luaPackages.dkjson: 2.6-1 -> 2.7-1 2024-04-12 17:13:11 +02:00
Mathew Polzin
4d92f8bcc6 luaPackages.pathlib-nvim: init at 2.2.0-1 2024-04-06 20:40:27 +02:00
Mathew Polzin
8042fcecd0 doc: update name of luarocks update package in codedoc 2024-04-06 20:40:27 +02:00
Philip Taron
ee457b8b08 Avoid top-level with ...; in pkgs/development/lua-modules/aliases.nix 2024-04-03 11:25:08 +02:00
Matthieu Coudron
97cec92c51 luaPackages.sqlite: fix build 2024-04-02 22:26:07 +02:00
Matthieu Coudron
461df53427 luaPackages.ldbus: make override more robust 2024-04-02 22:26:07 +02:00
Matthieu Coudron
88328bcf2f lua overrides, limit the scope of the with; 2024-04-02 22:26:07 +02:00
Marc Jakobi
7ab5913164 luaPackages: init some neovim packages 2024-04-02 11:00:13 +02:00
teto sse
4363f16d8f luaPackages.luadbi-mysql: fix overrides => fix build
we previously dropped the generated config, thus breaking the build
2024-03-30 13:26:11 +01:00
Matthieu Coudron
11fc7cb8d9 luaPackages.mimetypes: init at 1.0.0-3 2024-03-20 13:08:02 +01:00
Matthieu Coudron
5fc8e8d7c4 luaPackages.argparse: enable tests 2024-03-18 22:14:09 +01:00
natsukium
e0d2c123b9
luaPackages.tiktoken_core: init at 0.2.1-1 2024-03-13 18:55:18 +09:00
Matthieu Coudron
50e877ed89 buildLuarocksPackage: accept structured luarocks config
There is an arbitrary mapping being done right now between
nixpkgs lua infrastructre and luarocks config schema.
This is confusing if you use lua so let's make it possible to use the
lua names in the nixpkgs, thanks to the lib.generators.toLua convertor.

The only nixpkgs thing to remember should be to put the config into `luarocksConfig`

`buildLuarocksPackage.extraVariables` should become `buildLuarocksPackage.luarocksConfig.variables`
2024-02-17 15:58:13 +01:00