No description
Find a file
Raito Bezarius b70bbbe680 misc/pre-commit: add automatic clang-format of changed lines
Lix has a style guide:
https://wiki.lix.systems/books/lix-contributors/page/code but
contributors like me have been unable to enforce it, which is sad.

To avoid further violations of that style guide, we enable a pre-commit
hook for clang formatting of the changed lines.

Change-Id: I217452efa3ac8bd66b4d3a08a6fe9a241207790b
Signed-off-by: Raito Bezarius <raito@lix.systems>
2025-06-07 15:27:11 +02:00
.github fix: docs issue template was busted 2024-09-14 19:28:46 +00:00
bench bench: rewrite in python, add instruction count profiling 2025-03-14 19:24:21 +01:00
contrib function-trace: always show the trace 2019-09-18 23:23:21 +02:00
doc libstore: remove pre-2.18 protocols 2025-06-02 22:43:24 +00:00
lix libstore: add derivation wire generator 2025-06-06 18:09:46 +02:00
maintainers Merge "build-release-notes: ignore dotfiles" into main 2025-05-10 09:53:56 +00:00
meson lix-doc: remove meson pre-1.5 hacks 2025-05-08 17:40:38 +02:00
misc misc/pre-commit: add automatic clang-format of changed lines 2025-06-07 15:27:11 +02:00
nix-support editline: Vendor cl/1883 patch to recognize Alt+Left/Alt+Right 2024-09-11 09:35:00 -07:00
perl libstore: remove realisation query support 2025-05-20 17:43:46 +00:00
releng releng: Update README.md documentation 2025-05-15 10:47:10 -07:00
scripts build: fix deprecated uses of configure_file 2024-09-27 11:55:32 -05:00
subprojects Merge changes I9f893374,Ief7a4756 into main 2025-05-20 20:45:21 +00:00
tests tests/functional2/nix: fix config serialization 2025-06-07 00:14:57 +02:00
.clang-format Add pre-commit checks 2024-03-29 22:57:40 -07:00
.clang-tidy libutil: trace unwinding through async tasks 2025-04-06 12:14:51 +02:00
.dir-locals.el .dir-locals.el: Set c-block-comment-prefix 2020-07-10 11:21:06 +02:00
.editorconfig .editorconfig: json: init with 4 space indent 2025-05-15 15:11:57 -07:00
.envrc .envrc: remove MAKEFLAGS and use clang environment by default 2024-06-25 12:36:18 -06:00
.gitignore fix codestyle of functional2 2025-05-10 21:13:45 +02:00
.mailmap add .mailmap 2024-11-04 13:46:10 +01:00
.this-is-lix devShell: guard against running from another directory 2024-06-24 13:41:38 -07:00
Cargo.lock rowan: 0.15.15 -> 0.15.16 2024-08-26 11:34:43 -07:00
Cargo.toml fix tooling after include reorganization 2024-11-19 22:55:32 +00:00
CONTRIBUTING.md chore: re-work the contribution guide 2024-05-07 01:28:35 +00:00
COPYING Add pre-commit checks 2024-03-29 22:57:40 -07:00
default.nix Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
docker.nix chore(docker.nix): Replace mapAttrsFlatten by mapAttrsToList 2025-04-25 11:13:11 +02:00
flake.lock flake: Use nixpkgs 24.11 2024-12-10 12:32:42 -08:00
flake.nix releng: add local environment 2025-05-09 00:01:22 +00:00
justfile tests/functional2: add runner to justfile 2025-06-01 20:19:37 +02:00
meson.build lix-doc: remove meson pre-1.5 hacks 2025-05-08 17:40:38 +02:00
meson.options observability: add the first USDT probe 2025-03-23 18:37:47 -07:00
package.nix devshell: add git-clang-format 2025-06-07 15:27:11 +02:00
README.md Fix typos in documentation 2025-03-18 04:20:00 +00:00
shell.nix Use locked flake-compat in shell.nix 2024-12-30 07:25:23 -08:00
treefmt.toml functional2: Added ruff formatter 2025-05-10 22:14:10 +02:00
version.json version.json: 2.93.0 -> 2.94.0-dev 2025-05-11 16:51:25 -07:00

Lix

Lix is an implementation of Nix, a powerful package management system for Linux and other Unix systems that makes package management reliable and reproducible.

Read more about us at https://lix.systems.

Installation

On Linux and macOS the easiest way to install Lix is to run the following shell command (as a user other than root):

$ curl -sSf -L https://install.lix.systems/lix | sh -s -- install

For systems that already have a Nix implementation installed, such as NixOS systems, read our install page

Building And Developing

See our Hacking guide in our manual for instruction on how to set up a development environment and build Lix from source.

Additional Resources

License

Lix is released under LGPL-2.1-or-later.