[Backport release-26.05] libpqxx: Only override stdenv for GCC, not for clang (#555183)

This commit is contained in:
Rick van Schijndel
2026-08-22 12:23:14 +00:00
committed by GitHub

View File

@@ -12,7 +12,7 @@
# Work around issue reported in https://github.com/NixOS/nixpkgs/issues/476278.
# Should be solved when libpqxx 8.x is released.
gcc14Stdenv.mkDerivation (finalAttrs: {
(if stdenv.cc.isGNU then gcc14Stdenv else stdenv).mkDerivation (finalAttrs: {
pname = "libpqxx";
version = "7.10.7";