fix dynamically linked devshell

This failed to inherit the fix from bec507d739
because the crane package's buildInputs become propagatedBuildInputs in
a static stdenv, but become normal buildInputs in a dynamic stdenv. Since
we were only pulling propagatedBuildInputs into the devshell, dynamically
linked devshells did not include the rust-jemalloc-sys package. This
causes tikv-jemalloc-sys to build it's own static jemalloc package, and
we end up loading libc before jemalloc at runtime.
This commit is contained in:
Benjamin Lee 2024-05-24 17:04:34 -07:00
parent 463284d5db
commit aeb9daf69c
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4

View file

@ -92,6 +92,7 @@
# Useful for editing the book locally
mdbook
])
++ scope.main.buildInputs
++ scope.main.propagatedBuildInputs
++ scope.main.nativeBuildInputs;