Dmitry Bogatov
6e4941d3ac
pkgsStatic.lua.pkgs.luarocks_bootstrap: fix build
2026-07-25 06:00:00 -04:00
nixpkgs-ci[bot]
a0ee92dfa2
Merge staging-next into staging
2026-06-02 00:49:58 +00:00
Clément
5d26766cbf
treewide: add missing meta.homepage with source git repository
...
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Birdee
b78dd5d217
luaPackages.luarocks_bootstrap: properly configure luarocks to set LUA_LIBDIR
2026-05-11 13:43:51 +02:00
R. Ryantm
c8019bd6a9
lua51Packages.luarocks_bootstrap: 3.12.2 -> 3.13.0
2025-12-31 16:21:53 +00:00
Wolfgang Walther
46c0c0eae7
Merge branch 'staging-next' into staging
2025-12-10 18:42:31 +01:00
Ihar Hrachyshka
567e8dfd8e
treewide: clean up 'meta = with' pattern
...
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de >
2025-12-10 18:09:49 +01:00
Jonathan Davies
116036d574
treewide: Remove redundant versionCheckProgramArg = "--version"; with:
...
```shell
git grep -l -e 'versionCheckProgramArg = "--version";' -e 'versionCheckProgramArg = \[ "--version" \];' | while read f; do
sed -i '/versionCheckProgramArg/d' "$f"
sed -i '/^$/N;/\n$/D' "$f"
done
```
2025-11-20 10:39:02 +00:00
Wolfgang Walther
90604d95bc
Merge branch 'staging-next' into staging
2025-07-24 14:33:09 +02:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0
2025-07-24 13:55:40 +02:00
R. Ryantm
8f1b5b6166
lua51Packages.luarocks_bootstrap: 3.12.0 -> 3.12.2
2025-07-21 22:17:28 +02:00
Matthieu C.
130e159fbd
luaPackages.luarocks_bootstrap: 3.11.1-1 -> 3.12.0
...
Changelog at https://github.com/luarocks/luarocks/blob/main/CHANGELOG.md
fixes a nasty bug for luajit: https://github.com/luarocks/luarocks/issues/1797
2025-06-09 01:08:44 +02:00
Matthieu C.
1007183dc1
luaPackages.luarocks_bootstrap: add versionCheckHook
...
since I've seen issues with its version
2025-06-09 01:08:44 +02:00
Silvan Mosberger
84d4f874c2
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 a08b3a4d19 .tar.gz \
--argstr baseRev 78e9caf153
result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
7c6f434c
1e2491265e
luarocks-bootstrap: cmake and zip should be propagatedNativeBuildInputs ( #359822 )
2024-12-08 08:42:27 +00:00
Jörg Thalheim
e4bb54b19d
luarocks-bootstrap: cmake and zip should be nativeBuildInputs
2024-11-29 11:07:45 +01:00
Wolfgang Walther
d86588d230
treewide: improve prepending and appending derivation arguments in bash code
...
Those would be problematic with __structuredAttrs turned on, because
they'd turn those nice bash arrays back into strings - and potentially
lose some of the values on the way.
2024-11-25 09:09:23 +01:00
Artturin
0c8ccd6b96
luaPackages.luarocks_bootstrap: Fix build
...
I don't know what conditions are necessary to have the files in
`/etc/luarocks` populated so using `replace-quiet`.
At least on cross there is a file which contains configuration.
2024-08-27 20:43:16 +03:00
Matthieu C.
e475bdd5a2
luaPackages.luarocks_bootstrap: update pname
...
with "_boostrap" in it
also replace -> replace-fail to avoid warning
2024-06-13 15:33:10 +02:00
Marc Jakobi
294f7a767f
luaPackages.luarocks 3.11.0 -> 3.11.1
2024-06-12 14:33:40 +02:00
Alexis Hildebrandt
755b915a15
treewide: Remove indefinite article from meta.description
...
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
| xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Matthieu C.
2ea757a029
luaPackages.luarocks: generate luarocks as well
...
When installing a lua package that depends on luarocks, luarocks was not
capable of recognizing the luarocks module: https://github.com/NixOS/nixpkgs/issues/316009 .
As explained here https://github.com/luarocks/luarocks/issues/1659 ,
luarocks needs a manifest to recognize the package.
I first attempted to generate a manifest with `luarocks-admin
make-manifest` on our current manual luarocks derivation but this ended
up being too hackish as the `make-manifest` requires a .rockspec or
.rock to work, which we had not.
It seemed simpled to just rename the current manual luarocks derivation to luarocks_bootstrap
in order to break cyclic dependencies in buildLuarocksPackage and add a
generated luarocks derivation. Previously it was impossible to test
luarocks because of the cyclic dependency but we will now be able to
test the generated derivation.
2024-05-31 19:59:29 +02:00
Matthieu C.
986612811d
luarocks: wrap propagatedBuildInputs in PATH
...
so that luarocks-nix can add nurl too
2024-05-01 00:11:49 +02:00
Matthieu C.
b73ec84b9e
luarocks: set meta.mainProgram
2024-05-01 00:11:49 +02:00
Jeremy Baxter
af3101e90a
luarocks: 3.10.0 -> 3.11.0
2024-03-14 23:07:15 +01: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