Commit Graph

4356 Commits

Author SHA1 Message Date
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
Ben Siraphob
f82dc8ebe9 pkgs/development: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 15:56:57 -07:00
Peder Bergebakken Sundt
953d17c5cc gradle: reduce keytool noise (#472580) 2026-07-31 23:39:56 +00:00
Adam C. Stephens
f3c583d00c rebar3: enable __structuredAttrs + strictDeps, cleanup (#540340) 2026-07-17 13:08:36 +00:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
Nick Novitski
8491821091 gradle: setup hook respects java override
Before this commit, an expression like `pkgs.gradle_8.override { java = pkgs.openjdk17; }` would produce a
gradle package which uses jdk 17, but has a setup hook which uses jdk 21.
2026-07-13 16:45:56 -07:00
FliegendeWurst
b2df76a3ec rebar3: enable __structuredAttrs + strictDeps, cleanup 2026-07-10 23:38:02 +02:00
Ramses
7230acca44 sbt: 1.12.11 -> 1.12.13 (#534425) 2026-06-29 21:01:58 +00:00
dotlambda
c957f4127e gradle_9: 9.4.1 -> 9.5.1 (#526567) 2026-06-26 06:11:15 +00:00
Robert Schütz
29638dde9c gradle_9: use jdk25 2026-06-24 16:26:53 +02:00
Robert Schütz
40525b5262 gradle_9: 9.4.1 -> 9.5.1
Changelog: https://docs.gradle.org/9.5.1/release-notes.html
2026-06-24 16:26:53 +02:00
R. Ryantm
378fd36bd0 sbt: 1.12.11 -> 1.12.13 2026-06-23 00:01:13 +00:00
Adam Thompson-Sharpe
1edaf9905e gradle: fix update script with structuredAttrs 2026-06-18 08:53:59 -04:00
Adam C. Stephens
1971b78994 beamPackages.rebar3: patch to fix OTP 29 support (#526726) 2026-06-08 03:06:40 +00:00
Michael Daniels
a6c6735595 gup: move to by-name 2026-06-06 14:52:08 -04:00
Adam C. Stephens
09d3443b49 beamPackages.rebar3: patch to fix OTP 29 support
rebar3 itself actually compiles, it's just the tests that are failing.
Patch to disable another warning until upstream fixes the tests.
2026-06-01 10:05:43 -04:00
Sigmanificient
0bbc8dffae treewide: set meta.license on hooks 2026-05-25 13:48:20 +02:00
Masum Reza
102fd2f9b9 treewide: move to by-name part 4 (#522251) 2026-05-21 12:43:51 +00:00
liberodark
74c17aeac8 treewide: move to by-name part 4 2026-05-21 14:19:59 +02:00
nixpkgs-ci[bot]
4ff2cc395b Merge master into staging-next 2026-05-17 21:24:48 +00:00
Sandro
881872a008 sbt: 1.12.4 -> 1.12.11 (#496637) 2026-05-17 20:49:58 +00:00
R. Ryantm
67ed586de3 sbt: 1.12.4 -> 1.12.11 2026-05-10 21:28:21 +00:00
Ben Siraphob
869d641281 treewide: replace stdenv.is* with stdenv.hostPlatform.is* 2026-05-10 10:06:35 -07:00
nixpkgs-ci[bot]
b3d1fb715a Merge staging-next into staging 2026-04-16 12:05:18 +00:00
Arne Keller
665bb4f5b6 gradle: fix usage of update-deps script without bwrap (#418576) 2026-04-16 09:09:10 +00:00
Yiyu Zhou
a0312a1b4c gnumake: migrate to by-name 2026-04-11 13:47:15 -07:00
Yiyu Zhou
b19b2c6844 gnumake: cleanup 2026-04-11 13:47:14 -07:00
Mio
755334ed61 gradle: workaround for multiple console arguments error 2026-04-11 15:32:40 +10:00
Stanisław Pitucha
224c3007c2 gradle: Check that mitmCache.updateScript is run from a valid location (#486373) 2026-03-31 11:20:58 +00:00
R. Ryantm
028ee25368 gradle_9-unwrapped: 9.4.0 -> 9.4.1 2026-03-31 00:51:13 +00:00
Benedikt Ritter
773ee7e880 gradle: configure updateScript per major version
Previously the regex for updating Gradle matched any major version,
resulting in version bumps like #504857 where gradle_8 was updated to
9.4.1.
After this change, the version regexp is tagged to a specific major
version. That way gradle_8 is only updated to versions that start with
'8'. At the same time version updates are enabled for gradle_9 if they
start with '9'.
Last but not least, `nix-update-script` is now called with
`--use-github-releases` because without it the updater defaults to using
GitHub's releases Atom feed, and just returns the most recent releases,
causing the gradle_8 update to fail because no matching release version
could be found.
2026-03-30 10:03:28 +02:00
Arne Keller
4ba429d9d1 gradle: handle missing release version in dependencies (#471661) 2026-03-09 12:12:41 +00:00
superherointj
1466545bdb gradle_9: 9.3.1 -> 9.4.0
https://github.com/gradle/gradle/releases/tag/v9.4.0
2026-03-08 21:24:38 -03:00
Marc Jakobi
96e5bca012 gradle: handle missing release version in dependencies 2026-03-06 10:34:50 +01:00
R. Ryantm
250683569f beam26Packages.rebar3: 3.26.0 -> 3.27.0 2026-03-03 13:05:38 +00:00
Adam C. Stephens
f2d95b531c beamPackages.rebar3WithPlugins: fix globalPlugins handling
This was broken in 405d11fcce as packageName was dropped in favor of pname
2026-02-27 17:29:15 -05:00
R. Ryantm
14559938fc sbt: 1.12.2 -> 1.12.4 2026-02-24 04:42:35 +00:00
Tony Wasserka
2b5643491d gradle: Check that mitmCache.updateScript is run from a valid location 2026-02-09 18:46:38 +01:00
R. Ryantm
a405a9c1b4 sbt-with-scala-native: 1.12.1 -> 1.12.2 2026-02-09 14:26:49 +00:00
Jean-Marie Gaillourdet
2b15fac9ff sbt: meta.mainProgram attribute set to 'sbt'
E.g. when applying bubblewrap jails with jail.nix to sbt, to reduce the
blast radius of software delivery chain attacks, a warning is emitted by
the lib.meta.getExe function. But this does not depend on the external
jails.nix project, at all. This happens with every caller of the getExe
function on sbt inside nixpkgs as well.

    evaluation warning: getExe: Package "sbt-1.11.7" does not have the
    meta.mainProgram attribute. We'll assume that the main program has
    the same name for now, but this behavior is deprecated, because it
    leads to surprising errors when the assumption does not hold. If the
    package has a main program, please set `meta.mainProgram` in its
    definition to make this warning go away. Otherwise, if the package
    does not have a main program, or if you don't control its
    definition, use getExe' to specify the name to the program, such as
    lib.getExe' foo "bar".
2026-02-08 09:37:45 +01:00
Weijia Wang
bff373ed4a sbt-with-scala-native: 1.12.0 -> 1.12.1 (#477074) 2026-02-05 18:37:39 +00:00
Benedikt Ritter
c3605dfe79 gradle_9: 9.3.0 -> 9.3.1 2026-02-02 21:41:18 +01:00
R. Ryantm
5d6df0628a sbt-with-scala-native: 1.12.0 -> 1.12.1 2026-01-26 13:13:45 +00:00
nixpkgs-ci[bot]
380f8ffc67 Merge master into staging-nixos 2026-01-26 06:09:34 +00:00
Michael Daniels
006ecdbdeb treewide: fix typos (#479869) 2026-01-24 21:36:44 +00:00
Benedikt Ritter
f15b4314be gradle_8: 8.14.3 -> 8.14.4 2026-01-23 19:46:12 +01:00
K900
6e8dc58e2d Merge remote-tracking branch 'origin/master' into staging-next 2026-01-21 21:22:49 +03:00
Gergő Gutyina
88d3861acd various: move to pkgs/by-name (#480855) 2026-01-21 18:02:10 +00:00
quantenzitrone
35a1f39f96 {bdep,bpkg}: move to pkgs/by-name
this shouldn't create any rebuilds
2026-01-21 00:55:55 +01:00
quantenzitrone
92f81802d5 build2: move to pkgs/by-name, also move bootstrap to separate package
This triggers 1 "rebuild", however this is not really a rebuild.
This commit just moves `build2.passthru.bootstrap` to
`build2-bootstrap`, which is seen as a new package.
It is already build since it's a dependency of `build2`.

in conclusion this doesn't create any rebuilds
2026-01-21 00:55:54 +01:00