mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 16:07:30 +03:00
mold: Unbreak on aarch64-linux
The default stdenv C++ compiler / library on this platform is too old to support mold's C++20 code base.
This commit is contained in:
parent
0906855159
commit
efa86fc3b0
@ -48,7 +48,5 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ azahi nitsky ];
|
||||
platforms = platforms.unix;
|
||||
# https://github.com/NixOS/nixpkgs/pull/189712#issuecomment-1237791234
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||
};
|
||||
}
|
||||
|
@ -16984,7 +16984,10 @@ with pkgs;
|
||||
modd = callPackage ../development/tools/modd { };
|
||||
|
||||
mold = callPackage ../development/tools/mold {
|
||||
inherit (llvmPackages) stdenv;
|
||||
# C++20 is required, aarch64-linux has gcc 9 by default
|
||||
stdenv = if stdenv.isLinux && stdenv.isAarch64
|
||||
then llvmPackages_12.libcxxStdenv
|
||||
else llvmPackages.stdenv;
|
||||
};
|
||||
|
||||
msgpack-tools = callPackage ../development/tools/msgpack-tools { };
|
||||
|
Loading…
Reference in New Issue
Block a user