gringo: fixup build with gcc 11

This commit is contained in:
Vladimír Čunát 2022-04-18 18:46:57 +02:00
parent c07da190f5
commit 90edec053b
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
--replace \
"env['LIBPATH'] = []" \
"env['LIBPATH'] = ['${lib.getLib libcxx}/lib']"
'' + ''
sed '1i#include <limits>' -i libgringo/gringo/{control,term}.hh
'';
buildPhase = ''