1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-12 13:36:02 +01:00

flake: Add meson formatter

This adds a meson.format file that mostly mirrors the projects
meson style and a pre-commit hook to enforce this style.
Some low-diff files are formatted.
This commit is contained in:
Sergei Zimmerman 2025-06-11 22:08:03 +00:00
parent 371fcf91c3
commit 93a42a5971
No known key found for this signature in database
GPG key ID: A9B0B557CA632325
18 changed files with 152 additions and 52 deletions

View file

@ -1,6 +1,6 @@
generated_headers += gen_header.process(
'derivation.nix',
preserve_path_from: meson.project_source_root(),
preserve_path_from : meson.project_source_root(),
)
sources += files(