Merge branch 'unbreak-aarch64-nix' into 'next'

only use musl on x86_64

See merge request famedly/conduit!502
This commit is contained in:
Timo Kösters 2023-07-11 14:11:45 +00:00
commit 3c6ffd88bf

View File

@ -25,8 +25,8 @@
let
pkgs = nixpkgs.legacyPackages.${system};
# Use mold on Linux
stdenv = if pkgs.stdenv.isLinux then
# Use mold where possible
stdenv = if pkgs.stdenv.isLinux && pkgs.stdenv.isx86_64 then
pkgs.stdenvAdapters.useMoldLinker pkgs.stdenv
else
pkgs.stdenv;