Commit Graph
395 Commits
Author SHA1 Message Date
Justin Restivo 4a0627748e saxon: update dead src.url 2025-12-18 17:18:21 -05:00
Ihar HrachyshkaandWolfgang Walther 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
Tomodachi94 adda1d78eb rhino: migrate to by-name 2025-10-02 01:38:41 +00:00
jopejoe1andGitHub 5ee06ac3ee treewide(java-users): clean callPackage overrides, by-name some (#443954) 2025-09-27 10:01:41 +00:00
Tomodachi94 a4dd7db0dc treewide(java-users): clean callPackage overrides, by-name some
**This commit should cause no rebuilds.**

# Moving Java overrides out of all-packages

All usages of this pattern have been moved to
'let ... in' blocks.

Patterns I searched for:
* `jdk =`
* `jdk_headless =`
* `jre =`
* `jfx =`

The `jing` alias has been moved to aliases.nix, so
update the usage of `jing` in `xmloscopy` to
`jing-trang`.

cassandra was ignored because that derivation
involves code generation.

I ignored grails, because jdk is set to null by
default by an override in all-packages.nix. That
package would need a slightly larger refactor to
deal with.

Packages with a *-native variant were ignored because
those would need to be refactored.

jetbrains was ignored because that might be a special case?

I ignored virtualbox, because I did not want
to touch the usages of the pattern for other
dependencies.
2025-09-25 03:46:35 +00:00
R. Ryantm 6d7a5c9d33 saxon-he: 12.8 -> 12.9 2025-09-21 02:00:21 +00:00
Marc Bornand 2b10f11791 saxon: add -xslt symlink
Some projects that expect to be built on debian/ubuntu
search for saxon-xslt instead of saxon.
2025-08-18 17:35:15 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
K900 6b587b5f06 rhino: 1.7R2 -> 1.8.0
Upstream builds with Gradle now, so yay, we can use normal tooling.
Also no more JDK8.
2025-07-12 12:37:15 +03:00
AleksanaandGitHub 0cbaa544a1 saxon_11-he: 11.6 -> 11.7 (#423118) 2025-07-09 21:19:59 +08:00
R. Ryantm deb61643f6 saxon_11-he: 11.6 -> 11.7 2025-07-07 06:44:28 +00:00
R. Ryantm cbc1476ce2 saxon-he: 12.7 -> 12.8 2025-07-07 05:38:31 +00:00
TomaSajt 4c0595b026 rhino: point meta.homepage to a working page 2025-06-19 08:53:38 +02:00
Weijia WangandGitHub 3ce59458c5 saxon-he: 12.6 -> 12.7 (#408448) 2025-06-17 18:49:28 +02:00
Alexis HildebrandtandGitHub 12943bb18f saxon: add query and transform binaries; clean-up (#386860) 2025-06-05 22:13:26 +02:00
R. Ryantm b9a3d659b7 saxon-he: 12.6 -> 12.7 2025-05-18 17:18:21 +00:00
R. Ryantm 045bc14a8d saxon-he: 12.5 -> 12.6 2025-05-07 15:19:49 +00:00
Alexis Hildebrandt 4d657c9c56 saxon: use sourceRoot 2025-03-25 06:44:29 +01:00
Sigmanificient 91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Alexis Hildebrandt 09a349e104 saxon: use sri hashes 2025-03-13 09:27:01 +01:00
Alexis Hildebrandt a1ac54e267 saxon: use makeWrapper to create mainProgram and additional binaries 2025-03-13 09:24:40 +01:00
Alexis Hildebrandt 8a8dab4758 saxon: use installPhase instead of buildCommand 2025-03-13 09:24:22 +01:00
Alexis Hildebrandt 723f9b5d88 saxon: use stdenvNoCC instead of stdenv 2025-03-13 09:24:22 +01:00
Silvan Mosberger 4f0dadbf38 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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Sefa EyeogluandGitHub 63618b30ae hydraAntLogger: actually call {pre,post}Install hook (#354073) 2024-11-07 07:50:54 +01:00
TomaSajt 56fd238386 hydraAntLogger: actually call {pre,post}Install hook 2024-11-06 20:49:19 +01:00
Weijia WangandGitHub e9e2212a07 commonsLang: 3.15.0 -> 3.17.0 (#349243) 2024-11-01 14:10:01 +01:00
Weijia WangandGitHub 47c5b4f26a commonsLogging: 1.3.1 -> 1.3.4 (#349043) 2024-11-01 13:37:50 +01:00
Weijia WangandGitHub 9a541bb2a1 commonsIo: 2.16.1 -> 2.17.0 (#348538) 2024-11-01 13:28:34 +01:00
piegames 68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
R. Ryantm d7e97a7e9d commonsLang: 3.15.0 -> 3.17.0 2024-10-17 09:27:16 +00:00
R. Ryantm 3f69d2d455 commonsLogging: 1.3.1 -> 1.3.4 2024-10-16 13:46:04 +00:00
R. Ryantm cf47188756 commonsIo: 2.16.1 -> 2.17.0 2024-10-14 13:51:02 +00:00
Peder Bergebakken Sundt 5ab34ae7b0 lucene: use mirror url 2024-10-09 12:04:03 +02:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Sebastián MancillaandGitHub 39415e1f7a Merge pull request #332475 from r-ryantm/auto-update/commonsBcel
commonsBcel: 6.8.2 -> 6.10.0
2024-08-22 21:53:31 -04:00
Sebastián MancillaandGitHub b453935346 Merge pull request #328159 from r-ryantm/auto-update/commonsLang
commonsLang: 3.14.0 -> 3.15.0
2024-08-22 21:03:00 -04:00
Sebastián MancillaandGitHub 7ce5cd8ef3 Merge pull request #328443 from r-ryantm/auto-update/commonsDaemon
commonsDaemon: 1.3.4 -> 1.4.0
2024-08-15 22:45:35 -04:00
R. Ryantm 179b7a7d45 commonsBcel: 6.8.2 -> 6.10.0 2024-08-05 12:49:19 +00:00
Sigmanificient 543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +02:00
R. Ryantm 5f533e318c commonsDaemon: 1.3.4 -> 1.4.0 2024-07-19 13:56:40 +00:00
R. Ryantm d145c1d32c commonsLang: 3.14.0 -> 3.15.0 2024-07-18 12:19:35 +00:00
Weijia WangandGitHub 3102e63b96 Merge pull request #325415 from r-ryantm/auto-update/saxon-he
saxon-he: 12.4 -> 12.5
2024-07-15 14:34:24 +02:00
R. Ryantm 08cb23c875 saxon-he: 12.4 -> 12.5 2024-07-08 04:06:04 +00:00
Weijia WangandGitHub 8bc4b4d81e Merge pull request #323680 from r-ryantm/auto-update/hsqldb
hsqldb: 2.7.2 -> 2.7.3
2024-07-07 03:28:21 +02:00
R. RyantmandRobert Helgesson e689e151b3 lombok: 1.18.32 -> 1.18.34 2024-07-05 00:06:38 +02:00
Dusk Banks 34b1c1f92f treewide: migrate bb010g's packages to by-name 2024-07-04 02:41:03 -07:00
Masum RezaandGitHub 0b5665868a Merge pull request #289490 from rvl/saxon_12-he
saxon-he: 11.5 -> 12.4
2024-07-04 00:30:31 +05:30
R. Ryantm 284e90cd45 hsqldb: 2.7.2 -> 2.7.3 2024-07-01 00:23:05 +00:00