Oxidized bindings for the Nix package manager!!
Find a file
Taeer Bar-Yam 226639939f feat: nix_util::context::check_call!(func[...])
> I couldn't figure out a way to use () for the function call, but I didn't try that hard.

I (Robert) have also given it a shot, briefly, unsuccessfully.

While I was critical of over-engineering this, it turns out that
when we start to use `mut`, a macro is much more practical, because
it doesn't create a new scope where we need a copy of a mutable
reference, which of course is not allowed.

(cherry picked from commit a2acc93d13991da4b14a99065acd589477334d07)
2025-10-04 02:31:16 +02:00
.vscode dev: Add indentation rules to .vscode 2025-09-30 19:02:44 +02:00
doc/hacking feat: Add manual testing of bindings with Valgrind 2025-09-30 18:45:54 +02:00
rust feat: nix_util::context::check_call!(func[...]) 2025-10-04 02:31:16 +02:00
.envrc feat: Rust skeleton 2025-09-30 17:57:50 +02:00
.gitignore feat: Rust skeleton 2025-09-30 17:57:50 +02:00
flake.lock maint: Update nix to master 2025-10-04 02:30:46 +02:00
flake.nix dev: Improve comment check file name regex 2025-10-04 02:31:16 +02:00
README.md feat: Rust skeleton 2025-09-30 17:57:50 +02:00

nix_bindings_* crates

Use the Nix C API from Rust.

Hacking

The following will open a shell with dependencies, and install pre-commit for automatic formatting.

$ nix develop

VSCode

rust-analyzer

If the rust-analyzer extension fails, make sure the devShell was loaded into VSCode via Nix Env Selector or direnv.