Skip to content

Commit

Permalink
libexpr: Squash similar conditions
Browse files Browse the repository at this point in the history
Signed-off-by: Pamplemousse <[email protected]>
  • Loading branch information
Pamplemousse committed Aug 9, 2021
1 parent d64cb33 commit 2de7a1f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libexpr/primops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3645,9 +3645,7 @@ void EvalState::createBaseEnv()
if (!evalSettings.pureEval) {
mkInt(v, time(0));
addConstant("__currentTime", v);
}

if (!evalSettings.pureEval) {
mkString(v, settings.thisSystem.get());
addConstant("__currentSystem", v);
}
Expand Down

0 comments on commit 2de7a1f

Please sign in to comment.