aboutsummaryrefslogtreecommitdiff
path: root/src/nix/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/main.cc')
-rw-r--r--src/nix/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index 074a59049..55f8d59ba 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -234,7 +234,7 @@ static void showHelp(std::vector<std::string> subcommand, NixArgs & toplevel)
auto vUtils = state.allocValue();
state.cacheFile(
CanonPath("/utils.nix"), CanonPath("/utils.nix"),
- state.parseExprFromString(
+ &state.parseExprFromString(
#include "utils.nix.gen.hh"
, CanonPath::root),
*vUtils);