From 5893901a75ac133777a2cb6290ce3653564ebb23 Mon Sep 17 00:00:00 2001 From: morguldir Date: Wed, 22 May 2024 22:34:59 +0200 Subject: [PATCH] Explicitly include snappy as well Not sure what changed that we need this Signed-off-by: morguldir --- nix/pkgs/main/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/pkgs/main/default.nix b/nix/pkgs/main/default.nix index 6b78b5ef..49babf52 100644 --- a/nix/pkgs/main/default.nix +++ b/nix/pkgs/main/default.nix @@ -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"; };