flake.lock: update

This commit is contained in:
Nikodem Rabuliński 2025-06-01 18:29:03 +02:00
parent 39bde5a9b3
commit a4f914ef2b
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8
4 changed files with 133 additions and 129 deletions

View file

@ -1,10 +1,6 @@
{
lib,
stdenv,
src,
libiconv,
rocksdb,
darwin,
rustPlatform,
}:
let
@ -17,17 +13,10 @@ rustPlatform.buildRustPackage {
inherit src;
strictDeps = true;
useFetchCargoVendor = true;
cargoHash = "sha256-wESDxtKRMm/jyCr4kc20UuHGcE2s+OCMjfL+l1XihnA=";
cargoLock.lockFile = "${src}/Cargo.lock";
nativeBuildInputs = [ rustPlatform.bindgenHook ];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
# Use system RocksDB
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
ROCKSDB_LIB_DIR = "${rocksdb}/lib";