Anderson Torres
c910d4628a
luarocks: change self to finalAttrs
2023-04-20 22:22:23 -03:00
Matthieu Coudron
426ebe81e2
luarocks-nix: unstable-2022-10-12 -> unstable-2023-02-26
...
generates slightly better derivations
2023-02-26 23:33:35 +01: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
Markus Kowalewski
f50fabb819
luarocks-nix: fix meta data
2022-11-02 23:53:04 +01:00
github-actions[bot]
969a1796ef
Merge master into staging-next
2022-10-17 12:01:24 +00:00
figsoda
30a59df705
luarocks-nix: unstable-2022-09-04 -> unstable-2022-10-12
2022-10-16 15:35:25 -04: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
6aaf666aaa
bumped luarocks-nix
2022-09-04 20:55:40 +02: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
Matthieu Coudron
2c338f5122
luarocks-nix: bump
2022-03-29 03:18:46 +02:00
Felix Buehler
ae45cea36e
treewide: remove all .upstream files
2022-01-30 23:02:53 +01:00
Felix Buehler
09e3b7a570
treewide: remove all updateWalker/downloadURLRegexp
2022-01-26 21:46:08 +01:00
Matthieu Coudron
253af9151f
luaPackages: update
...
- luarocks-nix: bumped to pass args too, `package_X = callPackage ...`.
It allows to remove the annoying `with self`.
This new version disables tests (because broken) and now emits derivation
with a callPackage in front.
- replaced X.override with lib.overrideLuarocks, it should be used
whenever buildInputs/extraVariables is changed since it impacts the
generated luarocks config.
Once structured attributes are in, it will be easier to have the
luarocks config generated by a hook and we probably will be able to
replace all overrideLuarocks by overrideAttrs.
2021-10-18 19:48:07 +02:00
Michael Raskin
397b649283
luaPackages.luarocks-3_7: init so that the reverted update can be accessed if desired
2021-10-16 20:57:36 +02: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
Michael Raskin
e4f82b3722
Merge pull request #136507 from teto/luarocks-completion
...
luarocks: add bash/zsh completion
2021-09-03 06:02:00 +00:00
Matthieu Coudron
a9667fc80f
luarocks: add bash/zsh completion
2021-09-02 22:57:06 +02:00
Matthieu Coudron
e62a0eac8f
buildLuarocksPackage: cleanup
2021-08-31 22:16:28 +02:00
Matthieu Coudron
1d22aed041
luarocks-nix: bumped luarocks-nix
...
this new version removes support of src.rock but now supports rockspecs embedded in a repo. The goal is to be able to support neovim plugins that provide a rockspec, even when they are not registered on luarocks.
2021-08-31 01:01:56 +02:00
Matthieu Coudron
15e5c92495
luaPackages: update
2021-08-31 00:07:28 +02:00
Matthieu Coudron
9a70fbc593
luarocks-nix: nix_v3.5.0 -> nix_v3.5.0-1
...
that changes some rules as how to normalize nix names
2021-07-30 00:32:16 +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
Sandro
c58219fff6
Merge pull request #110467 from teto/luarocks-update
2021-01-24 03:18:07 +01:00
Ben Siraphob
c522fec274
pkgs/development/tools: stdenv.lib -> lib
2021-01-23 20:30:03 +07:00
Matthieu Coudron
2db2a966ea
luarocks-nix: update 20190907 -> 20210122
...
rebased on top of luarocks 3.5
2021-01-22 22:47:26 +01: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
Matthieu Coudron
2edf9a0332
luarocks-nix: fix generation when missing license
...
vstruct rockspec doesnt contain a license, which made luarocks-nix
crash. Bump luarocks nix to fix this.
2020-01-25 19:39:28 +01:00
Matthieu Coudron
59d65e23e1
Merge pull request #68258 from teto/luarocks-nix_bump
...
Moved luarocks-nix to community and leverage luarocks mirrors when possible.
2019-09-09 12:41:54 +09:00
Matthieu Coudron
4a3189085a
luarocks-nix: bump to 2019-09-07
...
added version and transferred the repostiory to nix-community.
With this bump, luarocks-nix generates mirro://luarocks urls.
2019-09-08 01:14:16 +09:00
Doron Behar
18b783b9bd
luarocks: 3.1.3 -> 3.2.1
2019-09-07 23:53:48 +09:00
Lily Ballard
45e6253678
luarocks: Update detected platform version
...
Now that our MACOSX_DEPLOYMENT_TARGET is set to 10.12, we shouldn't be
hardcoding the platform at build time as 10.10. This change makes it
inherit the MACOSX_DEPLOYMENT_TARGET value.
2019-08-15 23:10:10 +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
Alexei Robyn
00622f144e
luarocks-nix: Bump to version that supports --maintainers argument
2019-06-13 20:03:25 +10:00
Matthieu Coudron
441ef28ac5
luarocks-nix: update that fixes indentation
...
Finally fixes indentation.
- removed buildType as it was not used
- doesn't crash on missing description anymore
2019-06-04 18:57:36 +09:00
Will Dietz
6975dee942
luarocks-nix: update for formatting fixes
2019-04-28 10:10:50 -05:00
Matthieu Coudron
68a72f1a47
luarocks-nix: bump to match luarocks
...
Also made changes to lua package generation system to account for packages like cqueues
that have one version per lua interpreter.
The csv file also accepts comments now.
2019-03-07 17:43:07 +09: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