Fix build for new nixUnstable

This commit is contained in:
Shea Levy
2014-06-16 12:24:17 -04:00
parent 91f895b3d6
commit 114f8a26ee
2 changed files with 11 additions and 4 deletions

View File

@ -69,7 +69,7 @@ LDFLAGS="$LDFLAGS -L$nix/lib"
AC_CHECK_HEADER([store-api.hh], [:],
[AC_MSG_ERROR([Nix headers not found; please install Nix or check the `--with-nix' option.])])
AC_CHECK_LIB([nixexpr], [_ZN3nix9EvalState8evalFileERKSsRNS_5ValueE], [:],
AC_CHECK_LIB([nixexpr], [_ZN3nix9EvalStateC1ERKSt4listISsSaISsEE], [:],
[AC_MSG_ERROR([Nix library not found; please install Nix or check the `--with-nix' option.])])
CPPFLAGS="$old_CPPFLAGS"