From 2de7a1fe673e7cc3dd05b7bcfef82681aaf620d4 Mon Sep 17 00:00:00 2001 From: Pamplemousse Date: Mon, 9 Aug 2021 10:08:07 -0700 Subject: [PATCH] libexpr: Squash similar conditions Signed-off-by: Pamplemousse --- src/libexpr/primops.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index e8569b654..5ca6f6d01 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -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); }