Skip to content

Commit cec2783

Browse files
author
yihuang
authored
Problem: fail to import rocksdb on linux (#24)
Solution: - disable jemalloc
1 parent 8c788ba commit cec2783

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rocksdb.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
zlib,
1212
zstd,
1313
windows,
14-
# only enable jemalloc for non-windows platforms
15-
# see: https://github.com/NixOS/nixpkgs/issues/216479
16-
enableJemalloc ? !stdenv.hostPlatform.isWindows && !stdenv.hostPlatform.isStatic,
14+
# don't enable jemalloc, error on linux: https://github.com/NixOS/nixpkgs/issues/315628
15+
enableJemalloc ? false,
1716
jemalloc,
1817
enableShared ? !stdenv.hostPlatform.isStatic,
1918
sse42Support ? stdenv.hostPlatform.sse4_2Support,

0 commit comments

Comments
 (0)