forked from lix-project/hydra
Fix building against the latest Nix
This commit is contained in:
parent
d087aeb0d9
commit
4aa01e021e
|
@ -10,6 +10,8 @@ AC_PROG_LN_S
|
|||
AC_PROG_LIBTOOL
|
||||
AC_PROG_CXX
|
||||
|
||||
CXXFLAGS+=" -std=c++0x"
|
||||
|
||||
dnl Optional dependencies to build the manual, normally not needed
|
||||
dnl since the tarball comes with the PDF and HTML manuals.
|
||||
AC_PATH_PROG([DBLATEX], [dblatex])
|
||||
|
|
|
@ -156,7 +156,7 @@ static void findJobsWrapped(EvalState & state, XMLWriter & doc,
|
|||
if (a == v.attrs->end())
|
||||
throw EvalError("derivation must have a ‘constituents’ attribute");
|
||||
PathSet context;
|
||||
state.coerceToString(*a->value, context, true, false);
|
||||
state.coerceToString(*a->pos, *a->value, context, true, false);
|
||||
PathSet drvs;
|
||||
foreach (PathSet::iterator, i, context)
|
||||
if (i->at(0) == '!') {
|
||||
|
|
Loading…
Reference in a new issue