only use musl on x86_64
Since that's all I've tested it on. Apparently this caused issues on aarch64 even though it allegedly shouldn't.
This commit is contained in:
parent
ad06d475de
commit
56f0f3dfa4
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
# Use mold on Linux
|
# Use mold where possible
|
||||||
stdenv = if pkgs.stdenv.isLinux then
|
stdenv = if pkgs.stdenv.isLinux && pkgs.stdenv.isx86_64 then
|
||||||
pkgs.stdenvAdapters.useMoldLinker pkgs.stdenv
|
pkgs.stdenvAdapters.useMoldLinker pkgs.stdenv
|
||||||
else
|
else
|
||||||
pkgs.stdenv;
|
pkgs.stdenv;
|
||||||
|
|
Loading…
Reference in a new issue