libpqxx: Only override stdenv for GCC, not for clang

This makes sure that libpqxx uses the same naming conventions as
everything else on macOS.
This commit is contained in:
Yuriy Taraday
2026-08-13 15:14:47 +02:00
parent b1be3cdbcd
commit 130148d908

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";