From f129d90900fe238a114578bb74c0fc219230cfe2 Mon Sep 17 00:00:00 2001 From: strawberry <strawberry@puppygock.gay> Date: Mon, 8 Jul 2024 19:51:05 -0400 Subject: [PATCH] nix: delete `-DWITH_SNAPPY=1` from rocksdb cmakeFlags Signed-off-by: strawberry <strawberry@puppygock.gay> --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 9dc60a999..e20da52ba 100644 --- a/flake.nix +++ b/flake.nix @@ -45,6 +45,10 @@ # we have this already at https://github.com/girlbossceo/rocksdb/commit/a935c0273e1ba44eacf88ce3685a9b9831486155 # unsetting this so i don't have to revert it and make this nix exclusive patches = []; + # no real reason to have snappy, no one uses this + cmakeFlags = pkgs.lib.subtractLists + [ "-DWITH_SNAPPY=1" ] + old.cmakeFlags; }); # TODO: remove once https://github.com/NixOS/nixpkgs/pull/314945 is available liburing = pkgs.liburing.overrideAttrs (old: { -- GitLab