aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorPamplemousse <xav.maso@gmail.com>2021-08-09 10:08:07 -0700
committerPamplemousse <xav.maso@gmail.com>2021-08-09 10:10:11 -0700
commit2de7a1fe673e7cc3dd05b7bcfef82681aaf620d4 (patch)
tree47004ed833bf2e7b4f6cec1594ead2065f1597df /src/libexpr/primops.cc
parentd64cb33e90a5d178222c4e8e3f49d44c33fd93ae (diff)
libexpr: Squash similar conditions
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 0 insertions, 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);
}