Skip to content

Commit d206226

Browse files
committed
fix: use system jemalloc
1 parent 9aca971 commit d206226

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

nix/crane.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
...
66
}:
77
let
8-
inherit (pkgs) cacert;
8+
inherit (pkgs) cacert rust-jemalloc-sys;
99

1010
unfilteredRoot = ../.; # TODO: decouple with filepath
1111
src = lib.fileset.toSource {
@@ -15,12 +15,16 @@ let
1515
(lib.fileset.maybeMissing (unfilteredRoot + "/tests"))
1616
];
1717
};
18+
1819
commonArgs = {
1920
inherit src;
21+
2022
strictDeps = true;
2123

2224
nativeBuildInputs = [ cacert ];
2325

26+
buildInputs = [ rust-jemalloc-sys ];
27+
2428
doCheck = false; # Test separately with cargo-nextest
2529
};
2630

0 commit comments

Comments
 (0)