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>
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
When reworking the percona package naming towards the two release
streams "innovation" and "lts", I did not anticipate the case that two
releases are long-term supported in parallel, and that the latest
Innovation release is end-of-life and replaced by a more recent lts.
Hence, the first-level attribute names now reflect the package
major-minor versions again, augmented by attribute names pointing to
respective lts and innovation releases.
In accordance to the upstream release cycle, we now provide 2 flavours
of the percona mysql ecosystem. The default is the LTS variant,
additionally there is now the floating `percona-server_innovation`
always pointing to the most recent regular release.
- mentioned in release notes
- adapted all depending tests and tools (xtrabackup)
This is likely to diverge from the LTS xtrabackup packaging over time.
But as this package was already structured in a modular way, let's keep
the generic builder as long as it's feasible.
Without the change build fails on `master` on `gcc-13` as
https://hydra.nixos.org/build/249086583:
In file included from /build/source/components/keyrings/common/data/data.cc:25:
/build/source/components/keyrings/common/data/data.h: In member function 'pfs_string keyring_common::data::Sensitive_data::decode() const':
/build/source/components/keyrings/common/data/data.h:69:24: error: 'uintptr_t' is not a member of 'std'
69 | std::hash<std::uintptr_t>{}(reinterpret_cast<std::uintptr_t>(this));
| ^~~~~~~~~
* Reorder `libevent` and `libev` in `buildInputs`. Otherwise, cmake
picks up the wrong `event.h` and the version test for `libevent`
fails.
* Remove apparently obsolete workaround from fc8061dae4.
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: xbstream.c.o:(.bss+0x0): multiple definition of
`datasink_buffer'; ds_buffer.c.o:(.data.rel.local+0x0): first defined here