Add support for converting between libnix and harmonia derivations

This commit is contained in:
Artemis Tosini 2026-01-15 09:26:14 -05:00 committed by John Ericson
parent aae065cb3e
commit 714dcd95c0
3 changed files with 108 additions and 1 deletions

View file

@ -19,6 +19,7 @@ nix-bindings-store-sys = { path = "../nix-bindings-store-sys", version = "0.2.1"
lazy_static = "1.4"
zerocopy = "0.8"
harmonia-store-core = { version = "0.0.0-alpha.0", optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
ctor = "0.2"
@ -32,7 +33,7 @@ pkg-config = "0.3"
nix-bindings-util = { path = "../nix-bindings-util", version = "0.2.1" }
[features]
harmonia = [ "dep:harmonia-store-core" ]
harmonia = [ "dep:harmonia-store-core", "dep:serde_json" ]
[lints.rust]
warnings = "deny"