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>
* All JARs end up in $out/share/java, and a few wrappers for the
applications are made in $out/bin (closes#50932).
* stdenv -> stdenvNoCC, since no compilers are needed in any stages.
* Remove the vendored Rhino JavaScript engine and replace it with our
Nixpkgs one.
* Add the stripJavaArchivesHook.
This is hopefully a large improvement over the previous derivation
(which simply copied the binary tarball into $out).