mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
gringo: fix darwin build
This commit is contained in:
parent
ab6176ac5b
commit
cc1368a92f
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl,
|
||||
bison, re2c, sconsPackages,
|
||||
libcxx
|
||||
libcxx, libcxxabi
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace ./SConstruct \
|
||||
--replace \
|
||||
"env['LIBPATH'] = []" \
|
||||
"env['LIBPATH'] = ['${lib.getLib libcxx}/lib']"
|
||||
"env['LIBPATH'] = ['${lib.getLib libcxx}/lib', '${lib.getLib libcxxabi}/lib']"
|
||||
'' + ''
|
||||
sed '1i#include <limits>' -i libgringo/gringo/{control,term}.hh
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user