Commit Graph

48 Commits

Author SHA1 Message Date
8b0212e675 luarocks: 3.10.0 -> 3.9.2
reverts https://github.com/NixOS/nixpkgs/pull/293619
2024-03-22 10:22:11 +00:00
Jeremy Baxter
5ec74f48ce luarocks: 3.9.2 -> 3.10.0 2024-03-06 18:38:40 +01:00
7c6f434c
08b62a0025
Merge pull request #288761 from teto/luarocks-admin-completions
luarocks: add luarocks-admin completion
2024-02-14 19:57:43 +00:00
Matthieu Coudron
3d4ea13cbe luarocks: add luarocks-admin completion 2024-02-14 11:08:15 +01:00
Jeremy Baxter
69c531d286 luarocks: 3.9.1 -> 3.9.2 2024-02-12 10:20:56 +13:00
Anderson Torres
c910d4628a luarocks: change self to finalAttrs 2023-04-20 22:22:23 -03:00
figsoda
a211d94291 treewide: remove attrPath from nix-update-script calls
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
2022-12-26 12:39:21 -05:00
figsoda
c3ddd95cf2 luarocks{,-nix}: add necessary programs to PATH 2022-10-11 17:22:17 +02:00
github-actions[bot]
8db2124b57
Merge staging-next into staging 2022-09-05 12:02:04 +00:00
Matthieu Coudron
bb22a35529 luarocks: 3.9.0 -> 3.9.1 2022-09-04 20:55:40 +02:00
Artturin
7b24b57c14 luaPackages.luarocks: don't refer to luaOnBuild 2022-08-26 20:55:30 +03:00
Artturin
a2c61752fb lua.pkgs.luarocks: fix usage in cross-compilation
copy of comment 8d878e4981 (r954257465)

with this patch the build of luasystem fails

LD=ld
```
ld  -shared -o system/core.so src/core.o src/compat.o src/time.o -L/nix/store/...-glibc-2.35-163/lib -Wl,-rpath,/nix/store/...-glibc-2.35-163/lib -lrt
/nix/store/vhf2cr6immz4qdxd83y025fnxim8mmfg-binutils-2.38/bin/ld: unrecognized option '-Wl,-rpath,/nix/store/...-glibc-2.35-163/lib'
/nix/store/vhf2cr6immz4qdxd83y025fnxim8mmfg-binutils-2.38/bin/ld: use the --help option for usage information

Error: Build error: Failed compiling module system/core.so
```

LD=gcc
```
gcc  -shared -o system/core.so src/core.o src/compat.o src/time.o -L/nix/store/...-glibc-2.35-163/lib -Wl,-rpath,/nix/store/...-glibc-2.35-163/lib -lrt
```

`-Wl,rpath... -lrt` are added by ecb63347bf/src/luarocks/build/builtin.lua (L249-L250)
2022-08-26 20:55:30 +03:00
Artturin
ec35f6341b lua-packages: try splicing 2022-08-26 20:04:02 +03:00
Sergei Trofimovich
f59fcefd8d luarocks: explicitly set 'configurePlatforms = [ ];'
Without the change build with `config.configurePlatformsByDefault = true`
fails as:

    Error: Unknown flag: --build=x86_64-unknown-linux-gnu
2022-06-23 09:04:08 +01:00
Matthieu Coudron
77a0e5f36e luarocks: 3.8.0 -> 3.9.0
pass the config to the luarocks binary

also bumps luarocks-nix: bump package due to the luarocks rebase
2022-06-13 11:17:24 +02:00
Matthieu Coudron
8bb4179147 luarocks: 3.2 -> 3.8 2022-03-29 03:27:53 +02:00
Felix Buehler
09e3b7a570 treewide: remove all updateWalker/downloadURLRegexp 2022-01-26 21:46:08 +01:00
Michael Raskin
5c93a7780a Revert "luarocks: 3.2.1 -> 3.7.0"
This reverts commit eec90bc9d5.

See discussion in:
  https://github.com/NixOS/nixpkgs/pull/141718
  https://github.com/NixOS/nixpkgs/pull/80528
2021-10-16 20:54:36 +02:00
Aman Verma
eec90bc9d5 luarocks: 3.2.1 -> 3.7.0 2021-10-15 02:14:05 -04:00
Matthieu Coudron
a9667fc80f luarocks: add bash/zsh completion 2021-09-02 22:57:06 +02:00
Felix Buehler
87316d778b various: cleanup of "inherit version;" 2021-07-18 00:19:24 +02:00
Andrew Childs
2316ada93f luarocks: use targetPlatform.darwinMinVersion as default 2021-04-11 09:47:10 +09:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Bernardo Meurer
81461cff5f
Revert "Merge pull request #79750 from doronbehar/update-luarocks"
This reverts commit 0566b5ce19, reversing
changes made to 4d6e3bf127.
2020-03-01 18:39:58 -08:00
Doron Behar
d4f09b6590 luarocks: 3.2.1 -> 3.3.1 2020-02-10 19:45:36 +02:00
Doron Behar
18b783b9bd luarocks: 3.1.3 -> 3.2.1 2019-09-07 23:53:48 +09:00
Alexei Robyn
f8efece8e7 luarocks: 3.0.4 -> 3.1.3
The newer version silences some superfluous warnings we were previously
getting in Nix builds using luarocks.
2019-06-13 20:52:34 +10:00
Matthieu Coudron
c37b8925ba luarocks: 2.4.4 -> 3.0.4
Some new features like test_dependencies/build_dependencies and flags ( --lua-versions)
that should make nix integration easier:
https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md
2019-03-07 17:43:07 +09:00
Michael Raskin
3aae18f7dd luarocks: fix meta after refactoring, thanks to @peti for mentioning 2019-03-06 12:31:06 +01:00
Michael Raskin
73a82dcc44 luarocks: switch to a less intrusive update-walker metadata style 2019-03-06 11:54:21 +01:00
Daiderd Jordan
be1291e11b
luarocks: patch sw_vers and gcc on darwin
The sw_vers binary is not part of the stdenv and it would make builds
impure based on what macOS version they where built on.
2019-02-11 21:38:09 +01:00
Matthieu Coudron
d7a48fc80d luarocks: support more usage
better support for luarocks in a shell (helpful to develop on luarocks).
Also adds unpacker for src.rock/rockspec files.
Also allows to use luarocks to build cmake based rocks.
2019-01-22 16:52:43 +09:00
Ryan Mulligan
1a4b6a6d41 lua51Packages.luarocks: 2.4.3 -> 2.4.4
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 help` and found version 2.4.4
- found 2.4.4 with grep in /nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4
- directory tree listing: https://gist.github.com/cb3889fda28e8066faebd32a433c69d2
2018-03-20 16:38:20 -07:00
Michael Raskin
84f8ba819e luarocks: 2.4.2 -> 2.4.3 2017-11-11 15:31:42 +01:00
Michael Raskin
16ea6c7439 luarocks: 2.4.0 -> 2.4.2 2017-01-02 20:18:51 +01:00
Alexei Boronine
a7347d9e9c luarocks: enable Darwin 2016-12-18 04:04:56 +08:00
Michael Raskin
f5375a5a9d luarocks: 2.3.0 -> 2.4.0 2016-09-26 15:49:30 +02:00
Michael Raskin
761340140c luarocks: 2.2.2 -> 2.3.0 2016-01-01 12:30:17 +03:00
Michael Raskin
d1d2a9856c Update luarocks 2015-05-10 13:36:45 +03:00
Michael Raskin
c64b5270fe update luarocks 2015-03-21 21:29:39 +03:00
Michael Raskin
8da8c805bb Update luarocks 2014-08-14 10:14:21 +04:00
Michael Raskin
97c61e9a44 Updating LuaRocks 2014-05-28 01:33:28 +04:00
Michael Raskin
dc4d698e22 Update LuaRocks 2014-03-08 21:13:00 +04:00
Michael Raskin
5c90e785b2 Updating LuaRocks to 2.1.1 2013-11-25 10:59:38 +04:00
Michael Raskin
20e8f46022 Updating luarocks to 2.1.0 2013-10-20 21:08:09 +04:00
Evgeny Egorochkin
8a2da95255 luarocks: fix version to match tarball 2013-07-14 02:08:49 +03:00
Michael Raskin
eb946b4795 Luarocks: new package 2013-06-07 14:05:13 +04:00