mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
use new mold name
finally, it was so dumb before
This commit is contained in:
parent
f44c9dfe72
commit
908bedf0db
1 changed files with 1 additions and 3 deletions
|
|
@ -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"]
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue