Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/nix/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,6 @@ void mainWrapped(int argc, char ** argv)
}
#endif

initNix();
initGC();
flakeSettings.configureEvalSettings(evalSettings);

/* Set the build hook location

For builds we perform a self-invocation, so Nix has to be
Expand All @@ -390,6 +386,10 @@ void mainWrapped(int argc, char ** argv)
"__build-remote",
});

initNix();
initGC();
flakeSettings.configureEvalSettings(evalSettings);

#ifdef __linux__
if (isRootUser()) {
try {
Expand Down
Loading