python3Packages.shiboken6: fix build with clang-based stdenvs

Using `llvmPackages.stdenv` results in linking against a different
libc++ than the one linked by Qt, which causes it to crash.
This commit is contained in:
Randy Eckenrode
2023-09-05 08:00:47 -04:00
parent dba6d77ad2
commit 38d2174833
@@ -9,7 +9,10 @@
, libxcrypt
}:
llvmPackages.stdenv.mkDerivation rec {
let
stdenv' = if stdenv.cc.isClang then stdenv else llvmPackages.stdenv;
in
stdenv'.mkDerivation rec {
pname = "shiboken6";
version = "6.5.0";