diff --git a/pkgs/by-name/mu/mullvad/package.nix b/pkgs/by-name/mu/mullvad/package.nix index abb0d78c5703..6a15360f5e88 100644 --- a/pkgs/by-name/mu/mullvad/package.nix +++ b/pkgs/by-name/mu/mullvad/package.nix @@ -11,6 +11,7 @@ libnftnl, pkg-config, protobuf, + rust-jemalloc-sys, versionCheckHook, }: @@ -70,15 +71,17 @@ rustPlatform.buildRustPackage (finalAttrs: { protobuf ]; - buildInputs = - lib.optionals stdenv.hostPlatform.isLinux [ - dbus.dev - libmnl - libnftnl - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - darwin.libpcap - ]; + buildInputs = [ + rust-jemalloc-sys + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + dbus.dev + libmnl + libnftnl + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.libpcap + ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' compdir=$(mktemp -d)