vte: restrict condition for using clangStdenv

This commit is contained in:
Weijia Wang 2023-02-28 01:04:47 +02:00
parent b73601f559
commit 70335751e4

View file

@ -23728,7 +23728,7 @@ with pkgs;
vte = callPackage ../development/libraries/vte { vte = callPackage ../development/libraries/vte {
# Needs GCC ≥10 but aarch64 defaults to GCC 9. # Needs GCC ≥10 but aarch64 defaults to GCC 9.
stdenv = 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 then clangStdenv
else stdenv; else stdenv;
}; };