Fix mold setup

This commit is contained in:
asonix 2023-11-10 18:07:01 -06:00
parent 8d62d35c1b
commit 01ad4c7453

View file

@ -79,7 +79,8 @@
};
devShell = with pkgs; mkShell {
"CARGO_${hostCargoTarget}" = "${mold}/bin/mold";
"CARGO_TARGET_${hostCargoTarget}_LINKER" = "${clang}/bin/clang";
"RUSTFLAGS" = "--cfg tokio_unstable --cfg uuid_unstable -C link-arg=-fuse-ld=${mold-wrapped}/bin/mold";
nativeBuildInputs = [
diesel-cli