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
Add back gstreamer plugins to virt-manager buildInputs
for spice functionality. This was removed in commit
7c9fe1b04c and causes spice
display to fail on kde with an error, when GST_PLUGINS_PATH is not set.
Error connecting to graphical console:
Error opening SPICE console: Typelib file for namespace 'GstBase', version '1.0' not found
Previously this override was broken as it was trying to use `make
install-doc` in a v1 source, while that target was introduced in v2.
This is fixed by only running `make install` for the binaries -- as
documentation is pointless in this build anyways
Otherwise, a newer lima fails to start a ubuntu VM with the following
error:
```
vm driver 'vz' needs macOS 13 or later (Hint: try recompiling Lima if
you are seeing this error on macOS 13)
```
While _13 would technically work, the virt library they use has
availability checks up to 15:
https://github.com/search?q=repo%3ACode-Hex%2Fvz+available+15&type=code
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.