Fix build against Nix master

This commit is contained in:
Eelco Dolstra
2018-06-01 15:18:23 +02:00
parent b11789f399
commit 39eca8bef1

View File

@@ -195,7 +195,7 @@ int main(int argc, char * * argv)
/* Prevent access to paths outside of the Nix search path and /* Prevent access to paths outside of the Nix search path and
to the environment. */ to the environment. */
settings.restrictEval = true; evalSettings.restrictEval = true;
if (releaseExpr == "") throw UsageError("no expression specified"); if (releaseExpr == "") throw UsageError("no expression specified");