There is one hash per platform, so nix-update-script would only refresh
the one for the system the update bot runs on.
Assisted-by: Claude Code (claude-opus-5)
Upstream publishes archives for both. x86_64-darwin is left out,
Nixpkgs 26.11 no longer supports it.
The macOS .app is notarized, so skip the fixup steps that would
invalidate its signature.
Assisted-by: Claude Code (claude-opus-5)
Extract MAT's own icon from its plugin jar and install it into
share/icons/hicolor/<size>x<size>/apps, instead of dumping the generic
Eclipse launcher icons into share/pixmaps.
Supersedes https://github.com/NixOS/nixpkgs/pull/492745.
Assisted-by: Claude Code (claude-opus-5)
Build with stdenvNoCC and take the ELF interpreter from
bintools.dynamicLinker instead of a hardcoded x86_64 glob. Drop the
libcairo-swt.so branch, ineffective build inputs and a duplicate unpack.
Assisted-by: Claude Code (claude-opus-5)
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>
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]
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 57b193d8dd
result/bin/apply-formatting $NIXPKGS_PATH
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.