Merge pull request #155231 from gador/pgadmin3-fix

pgadmin: fix build
This commit is contained in:
Wout Mertens 2022-01-19 22:24:08 +01:00 committed by GitHub
commit 5c89b03700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
"--with-libxslt=${libxslt.dev}"
];
# starting with C++11 narrowing became an error
# and not just a warning. With the current c++ compiler
# pgadmin3 will fail with several "narrowing" errors.
# see https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-Wno-narrowing
makeFlags = "CXXFLAGS=-Wno-narrowing" ;
meta = with lib; {
description = "PostgreSQL administration GUI tool";
homepage = "https://www.pgadmin.org";