Browse Source

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.
merge-requests/560/head
Charles Hall 3 years ago
parent
commit
56f0f3dfa4
No known key found for this signature in database
GPG Key ID: 7B8E0645816E07CF
  1. 4
      flake.nix

4
flake.nix

@ -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;

Loading…
Cancel
Save