From bfc102c1b041adc5524bf4358438531ff34f999b Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Mon, 22 Dec 2025 13:14:26 +0100 Subject: [PATCH] use new mold name finally, it was so dumb before --- home-manager/common.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home-manager/common.nix b/home-manager/common.nix index bf4aa48..b73388a 100644 --- a/home-manager/common.nix +++ b/home-manager/common.nix @@ -7,13 +7,11 @@ let in { programs.neovim.enable = true; - - # mold-wrapped has the cursed nix linker shenanigans that make it produce properly rpathed binaries. home.file.".cargo/config.toml" = { text = '' [target.x86_64-unknown-linux-gnu] linker = "${lib.getExe pkgs.llvmPackages_21.clang}" - rustflags = ["-Clink-arg=-fuse-ld=${lib.getExe' pkgs.mold-wrapped "mold"}", "-Ctarget-cpu=native"] + rustflags = ["-Clink-arg=-fuse-ld=${lib.getExe' pkgs.mold "mold"}", "-Ctarget-cpu=native"] ''; };