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>
The Ant PMC voted to archive the IvyDE subproject. This means that all its resources are removed or made read only and no further development will be done.
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
this is a relatively simple recasting of the existing update script,
using the "object addition" feature of 'jq' to incrementally update
the eclipses.json document with the URL components and their hashes.
it does end up defining the same update script for every eclipse
packaging, but in local testing, maintainers/scripts/update.nix seems
smart enough to realize it should only run that script once.
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