From 90edec053b58e1dafb2c76c59604bb5c87fade40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 18 Apr 2022 18:46:57 +0200 Subject: [PATCH] gringo: fixup build with gcc 11 --- pkgs/tools/misc/gringo/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/misc/gringo/default.nix b/pkgs/tools/misc/gringo/default.nix index 87902de0cb03..02314ec77e9c 100644 --- a/pkgs/tools/misc/gringo/default.nix +++ b/pkgs/tools/misc/gringo/default.nix @@ -34,6 +34,8 @@ stdenv.mkDerivation rec { --replace \ "env['LIBPATH'] = []" \ "env['LIBPATH'] = ['${lib.getLib libcxx}/lib']" + '' + '' + sed '1i#include ' -i libgringo/gringo/{control,term}.hh ''; buildPhase = ''