Skip to content

Commit

Permalink
fix jemalloc in nix
Browse files Browse the repository at this point in the history
  • Loading branch information
kpinter-iohk committed Feb 24, 2025
1 parent 1067782 commit 566ed88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions dev/nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
RUST_SRC_PATH = "${rustToolchain}/lib/rustlib/src/rust/library";
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
LD_LIBRARY_PATH = "${rustToolchain}/lib";
# https://github.com/NixOS/nixpkgs/issues/370494#issuecomment-2625163369
CFLAGS = "-DJEMALLOC_STRERROR_R_RETURNS_CHAR_WITH_GNU_SOURCE";

# envs needed in order to construct some of the rust crates
ROCKSDB_LIB_DIR = "${pkgs.rocksdb}/lib/";
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 566ed88

Please sign in to comment.