nix: link with Mold for all Linux platforms

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibed900b7d587278223e6150332aac1dd6a6a6964
This commit is contained in:
raf 2026-02-09 14:57:38 +03:00
commit 8a0a9f2649
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -4,7 +4,7 @@
stdenvAdapters,
rustPlatform,
llvm,
useMold ? stdenv.isLinux && !stdenv.hostPlatform.isAarch,
useMold ? stdenv.isLinux,
}: let
toml = (lib.importTOML ../Cargo.toml).package;
pname = toml.name;