mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
gringo: fixup build with gcc 11
This commit is contained in:
parent
c07da190f5
commit
90edec053b
1 changed files with 2 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue