Explicitly include snappy as well

Not sure what changed that we need this

Signed-off-by: morguldir <morguldir@protonmail.com>
This commit is contained in:
morguldir 2024-05-22 22:34:59 +02:00 committed by June 🍓🦴
parent 8ba9b33a95
commit 5893901a75

View file

@ -8,6 +8,7 @@
, rocksdb
, rust
, rust-jemalloc-sys
, snappy
, stdenv
, pkgsStatic
@ -108,7 +109,8 @@ buildPackageEnv = {
&& !stdenv.cc.bintools.isLLVM;
in
buildDepsOnlyEnv.CARGO_BUILD_RUSTFLAGS
+ lib.optionalString (uring && valid) " -L${lib.getLib liburing'}/lib/ -luring";
+ lib.optionalString (uring && valid) " -L${lib.getLib liburing'}/lib/ -luring"
+ " -L${lib.getLib snappy}/lib/ -lsnappy";
};