mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
upgrade to latest rust-rocksdb
We gotta overrideAttrs to set the src and version to a newer version than nixpkgs has now.
This commit is contained in:
parent
d565b22da9
commit
2dbb101140
5 changed files with 34 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# Dependencies (keep sorted)
|
||||
{ lib
|
||||
{ inputs
|
||||
, lib
|
||||
, rocksdb
|
||||
, rust-jemalloc-sys
|
||||
|
||||
|
|
@ -8,7 +9,14 @@
|
|||
}:
|
||||
|
||||
let
|
||||
rocksdb' = rocksdb.override {
|
||||
rocksdb' = (rocksdb.overrideAttrs (old: {
|
||||
src = inputs.rocksdb;
|
||||
version = lib.removePrefix
|
||||
"v"
|
||||
(builtins.fromJSON
|
||||
(builtins.readFile ../../../flake.lock)
|
||||
).nodes.rocksdb.original.ref;
|
||||
})).override {
|
||||
jemalloc = rust-jemalloc-sys;
|
||||
|
||||
enableLiburing = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue