fix flakes should depend on exprs
This commit is contained in:
parent
0fc901f032
commit
d6f3b5a691
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ path = "src/lib.rs"
|
|||
default = []
|
||||
store = ["nixide-sys/nix-store-c"]
|
||||
exprs = ["store", "nixide-sys/nix-expr-c"]
|
||||
flakes = ["store", "nixide-sys/nix-flake-c", "nixide-sys/nix-fetchers-c"]
|
||||
flakes = ["exprs", "nixide-sys/nix-flake-c", "nixide-sys/nix-fetchers-c"]
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2.183"
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ fn init_libstore() {
|
|||
/// > that does not rely on Rust's stdlib services.
|
||||
/// > - Excerpt from the [github:mmastrac/rust-ctor README.md](https://github.com/mmastrac/rust-ctor?tab=readme-ov-file#warnings)
|
||||
#[ctor]
|
||||
#[cfg(feature = "expr")]
|
||||
#[cfg(feature = "exprs")]
|
||||
fn init_libexpr() {
|
||||
unsafe {
|
||||
INIT_LIBEXPR_STATUS = Some(util::wrap::nix_fn!(|ctx: &errors::ErrorContext| unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue