Merge pull request #218700 from wegank/vte-gcc12

vte: restrict condition for using clangStdenv
This commit is contained in:
Weijia Wang 2023-02-28 01:32:48 +02:00 committed by GitHub
commit 916f626e42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23768,7 +23768,7 @@ with pkgs;
vte = callPackage ../development/libraries/vte {
# Needs GCC ≥10 but aarch64 defaults to GCC 9.
stdenv =
if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU
if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU && lib.versionOlder stdenv.cc.version "10"
then clangStdenv
else stdenv;
};