diff --git a/flake.nix b/flake.nix
index 9dc60a99..e20da52b 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: {