Commit Graph

55086 Commits

Author SHA1 Message Date
nixpkgs-ci[bot]
32e2305704 Merge staging-next into staging 2026-08-18 00:11:41 +00:00
Jakub Kozłowski
c893f43c46 sbt: 1.12.13 -> 2.0.6, move to by-name, misc fixes (#552788) 2026-08-17 19:17:45 +00:00
Jakub Kozłowski
1a77d070b1 ammonite: fix jre handling, rework update script, misc cleanup (#552781) 2026-08-17 19:08:41 +00:00
nixpkgs-ci[bot]
92f9f35cc2 Merge staging-next into staging 2026-08-15 00:11:48 +00:00
Vladyslav Pekker
575b4919e4 sbt: move to pkgs/by-name
Only PRs to packages in pkgs/by-name can be merged with the merge bot, so
this is what lets the package's maintainers act on r-ryantm's bumps.

Both callPackage calls took empty argument sets, so no .override interface
changes. simpleBuildTool stays in all-packages.nix, being an alias rather
than a definition.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:06 -03:00
Vladyslav Pekker
9081ee5584 ammonite: name the scala version in the description
All three variants build a derivation called ammonite-3.0.9, so the
description is what tells them apart in nix search and nix profile list.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:01 -03:00
Vladyslav Pekker
3e7f7b6ecd ammonite: require Java 11 or newer
ammonite.AmmoniteMain is class-file 55, so an older jre failed the install
check with UnsupportedClassVersionError buried in a build log rather than
saying why.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:01 -03:00
Vladyslav Pekker
e55394a12b ammonite: pass the packaged jre to child processes
The repl pinned its own jvm but handed subprocesses whatever the shell
had. makeWrapper is not usable here because the launcher passes itself as
the classpath with -cp "$0", so the exports go ahead of the exec instead,
and the result is checked rather than assumed.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Vladyslav Pekker
f94d2111ce ammonite: drop the disableRemoteLogging argument
The sed behind it looks for ammonite.Main', but the 3.x launcher runs
ammonite.AmmoniteMain, so it has matched nothing for some time and the
flag was never added: the default build contains no --no-remote-logging.
Upstream removed the feature as well, and answers the flag with "Option
--no-remote-logging is deprecated (remote logging has been removed)".

So the argument only ever chose between two identical launchers, except
that passing it false also skipped the shebang.

The built output is unchanged. This does drop the argument from the
.override interface, so `ammonite.override { disableRemoteLogging = false; }`
now fails to evaluate rather than quietly doing nothing; nothing in the
tree passes it.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Vladyslav Pekker
9c4338865e ammonite: always give the launcher a shebang
Upstream ships a .bat/.sh polyglot with no interpreter directive, and the
sed adding one sat inside the disableRemoteLogging block, so building with
that argument false produced a launcher execve cannot start: shells retry
it under /bin/sh, but anything calling execve directly gets ENOEXEC.

The default build is byte-identical; only the --no-remote-logging flag
stays conditional.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Vladyslav Pekker
adbce88404 ammonite: fill in meta
The launcher carries an appended jar, so sourceProvenance is
binaryBytecode rather than the fromSource default.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Vladyslav Pekker
86783af97d ammonite: rework update script
It refreshed ammonite_2_12 and ammonite_2_13 only, so a bump left
ammonite_3_3 - which is what the plain ammonite attribute points at - on
the new version with its old hash. The variants are now one table the
script is generated from, so none can be missed.

It also drove git ls-remote off git@github.com:..., which needs an ssh key
and so could never have run for r-ryantm.

The rest is the shape the other Scala packages use: shellcheck at build
time, a downgrade guard, prose on stderr, package.nix restored if a
refresh fails partway, and the commit feature declared.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Vladyslav Pekker
9b95c29631 ammonite: limit platforms to those the jre supports
lib.platforms.all claimed 79 systems for a shell script running a jar.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Vladyslav Pekker
8d07bd18ab ammonite: pin the packaged jre
The launcher picks $JAVA_HOME over its own default when set, and only the
default was being patched, so `override { jre = ... }` had no effect in any
shell that exports JAVA_HOME - which is most of them. Ammonite 3 needs
Java 11, so on an older JAVA_HOME it crashed in the launcher instead.

sed rather than substituteInPlace because the launcher carries an appended
jar, and null bytes make substituteInPlace refuse the file. Since sed is
silent when it matches nothing, which is how this went unnoticed, the
result is checked.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Vladyslav Pekker
1d6a64346c ammonite: add agilesteel as maintainer
Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:00 -03:00
Stefan Frijters
560cf35ee7 patchelfUnstable: enable strictDeps, enable structuredAttrs, modernize (#551840) 2026-08-14 19:40:27 +00:00
Stefan Frijters
b133f4fc7f libtool{,_1_5}: enable strictDeps, enable structuredAttrs, modernize (#551475) 2026-08-14 12:32:04 +00:00
Stefan Frijters
9a18a5dbad texinfo: enable structuredAttrs (#548605) 2026-08-14 12:07:15 +00:00
Stefan Frijters
ff7a7cb946 autoconf: enable strictDeps, enable structuredAttrs, modernize (#548565) 2026-08-14 11:53:39 +00:00
Stefan Frijters
0dc16800cb automake: enable structuredAttrs, modernize (#548566) 2026-08-14 11:46:06 +00:00
Stefan Frijters
572abe0e0c patchelf: enable structuredAttrs, modernize (#548573) 2026-08-14 11:29:33 +00:00
nixpkgs-ci[bot]
b50ee340e0 Merge staging-next into staging 2026-08-14 00:23:05 +00:00
Gergő Gutyina
b06832deeb pnpm: 11.20.0 -> 11.21.0 (#552027) 2026-08-13 23:32:58 +00:00
R. Ryantm
5d84c021df radare2: 6.1.8 -> 6.2.0 2026-08-13 08:22:31 +00:00
R. Ryantm
69bdc46745 pnpm: 11.20.0 -> 11.21.0 2026-08-12 17:01:48 +00:00
Stefan Frijters
74380bfe95 patchelfUnstable: enable structuredAttrs, use hash 2026-08-12 13:36:08 +02:00
Stefan Frijters
dbafff72c5 patchelfUnstable: enable strictDeps 2026-08-12 13:35:49 +02:00
Stefan Frijters
bef5e44caf automake116x: use sri hash 2026-08-11 23:36:27 +02:00
Stefan Frijters
e86ec915a5 autoconf269: use sri hash 2026-08-11 23:35:13 +02:00
Stefan Frijters
4645c07687 autoconf269: enable strictDeps 2026-08-11 23:35:06 +02:00
Stefan Frijters
d9d827b829 libtool: enable structuredAttrs, use finalAttrs 2026-08-11 14:04:45 +02:00
Stefan Frijters
7231d4909a libtool_1_5: enable structuredAttrs, use finalAttrs 2026-08-11 14:04:41 +02:00
Stefan Frijters
b85b77fdb0 libtool_1_5: enable strictDeps 2026-08-11 14:04:33 +02:00
Alexis Hildebrandt
c93bc8c71e texinfo: 7.2 -> 7.3 (#495978) 2026-08-10 20:10:12 +00:00
nixpkgs-ci[bot]
1c7bfe4994 Merge master into staging-next 2026-08-10 00:17:41 +00:00
Sandro
49bb86bebf infisical: 0.41.90 -> 0.43.110 (#495030) 2026-08-09 20:59:46 +00:00
Michael Daniels
6f9683305f Merge branch 'master' into staging-next 2026-08-08 14:43:24 -04:00
dotlambda
d3a5e58baa ocis, pnpm_9: drop (#548482) 2026-08-08 14:02:08 +00:00
nixpkgs-ci[bot]
73c9895273 Merge staging-next into staging 2026-08-07 01:14:02 +00:00
Gergő Gutyina
5579024f0f pnpm_11: 11.18.0 -> 11.20.0 (#548223) 2026-08-06 21:50:14 +00:00
K900
2f4c2d4476 Merge remote-tracking branch 'origin/staging-next' into staging 2026-08-05 15:42:09 +03:00
Gaétan Lepage
3ca8e3cc3d pkgs/development: fix typos (#549385) 2026-08-05 08:57:03 +00:00
nixpkgs-ci[bot]
d9b038e46e Merge staging-next into staging 2026-08-04 12:39:02 +00:00
Gutyina Gergő
bd9ddce1da pnpm_11: 11.18.0 -> 11.20.0 2026-08-04 00:24:29 +02:00
Sandro Jäckel
6ee4e89751 woodpecker-{agent,cli,server}: 3.16.0 -> 3.17.0
Changelog: https://github.com/woodpecker-ci/woodpecker/releases/tag/v3.17.0
Diff: https://github.com/woodpecker-ci/woodpecker/compare/v3.16.0...v3.17.0
2026-08-03 22:58:03 +02:00
Robert Schütz
3e218cf835 pnpm_9: drop 2026-08-03 13:08:38 -07:00
Ben Siraphob
f82dc8ebe9 pkgs/development: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 15:56:57 -07:00
Stefan Frijters
48e25ca7b0 texinfo: enable structuredAttrs 2026-08-03 00:55:08 +02:00
Stefan Frijters
75af460bdb patchelf: enable structuredAttrs, modernize 2026-08-02 23:21:24 +02:00
Stefan Frijters
0043d4fbc7 automake: enable structuredAttrs, use finalAttrs 2026-08-02 23:00:16 +02:00