Methodology:
- `sed` to find and replace in pkgs/*
- exclude pkgs/top-level
- nixpkgs-review on x86_64-linux and aarch64-linux
- revert everything that doesn't build
- revert everything that doesn't launch [x86_64-linux]
- check upstream source whether the change makes sense [free software only]
* set pname rather than name in the generateEclipse function
* use the standard 'version' attribute name rather than the ad-hoc
'productVersion' attribute when calling buildEclipseUnversioned
* pass 'pname' and 'version' through to mkDerivation, and let it
derive 'name', per standard convention
* update generation of the '-configuration' argument to use 'version'
fixes:
The derivation has no version attribute, so do not know how to figure out the version while doing an updateScript update
... during automated update process introduced in 5bb31f9518
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 b32a094368
result/bin/apply-formatting $NIXPKGS_PATH
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix
webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
this isn't complete enough to use as a formal updateScript yet, but
it's definitely an improvement over the current purely-manual process.
Co-authored-by: Robert Helgesson <robert@rycee.net>
* generalize the justj-stripping regex a tad, since it has grown a
trailing /java in some flavors of eclipse.
* resurrect .eclipseproduct workaround from 2012-12 /
8a7561ec09
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
When aarch64 support was added, the x86_64 appears to have been
accidentally replaced with the one for eclipse-platform.
Fixes: 2c3e53a6cd ("eclipses.*: Enable on aarch64-linux")
unlike past updates, there is no bump for the CDT plugin, because it
hasn't released 10.8 yet. we can apply that update later, when it
becomes available.