diff options
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/shared.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 73388c96e8cd..f608afd84898 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -55,6 +55,9 @@ void checkStoreNotSymlink(Path path) } +void initStoreExprHelpers(); + + /* Initialize and reorder arguments, then call the actual argument processor. */ static void initAndRun(int argc, char * * argv) @@ -101,6 +104,9 @@ static void initAndRun(int argc, char * * argv) string lt = getEnv("NIX_LOG_TYPE"); if (lt != "") setLogType(lt); + /* ATerm stuff. !!! find a better place to put this */ + initStoreExprHelpers(); + /* Put the arguments in a vector. */ Strings args, remaining; while (argc--) args.push_back(*argv++); |