Commit d7d05b2
committed
flake: add libb2/lz4/zstd to dev shell
`src/build.rs` probes these via pkg-config when the `static` feature is
enabled, so without them `cargo build --features static` (and therefore
`cargo build --all-features`) fails with "Unable to find libb2" before
any Rust code is compiled.
Note: a fully static build still needs a static libarchive, which the
default nixpkgs `libarchive` does not provide — this change just removes
the libb2/lz4/zstd pkg-config failures, so developers hit a more
meaningful error (or can supply their own static libarchive).1 parent befe241 commit d7d05b2
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments