1
0
Fork 0
mirror of https://github.com/helix-editor/helix.git synced 2025-04-01 01:47:45 +03:00

flake: Revert devShell linker to lld

`mold` does not appear to work on macOS as stated in the parent commit.
This commit is contained in:
Michael Davis 2025-03-07 12:06:32 -05:00
parent fab08c0981
commit 8da226f0b4
No known key found for this signature in database

View file

@ -57,7 +57,7 @@
# Devshell behavior is preserved.
devShells.default = let
commonRustFlagsEnv = "-C link-arg=-fuse-ld=mold -C target-cpu=native --cfg tokio_unstable";
commonRustFlagsEnv = "-C link-arg=-fuse-ld=lld -C target-cpu=native --cfg tokio_unstable";
platformRustFlagsEnv = pkgs.lib.optionalString pkgs.stdenv.isLinux "-Clink-arg=-Wl,--no-rosegment";
in
pkgs.mkShell
@ -65,7 +65,7 @@
inputsFrom = [self.checks.${system}.helix];
nativeBuildInputs = with pkgs;
[
mold
lld
cargo-flamegraph
rust-bin.nightly.latest.rust-analyzer
]