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>
This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful.
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
Co-authored-by: dotlambda <nix@dotlambda.de>
Wanted by libcamera. Seems easier to just package it than disable it
in libcamera, as that would require copying the list of which
pipelines to enable on which architectures into Nixpkgs.