aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-08-09 20:05:03 +0200
committerGitHub <noreply@github.com>2021-08-09 20:05:03 +0200
commit8943e3176d5a94088a2018c3415f2f34fe9309d1 (patch)
tree9ef5e37ba712be3693eb274f4e707a43e8d8770c /src/libexpr
parent27444d40cf726129334899a42d68d69f73baa988 (diff)
parent2de7a1fe673e7cc3dd05b7bcfef82681aaf620d4 (diff)
Merge pull request #5111 from Pamplemousse/clean
Minor maintenance cleaning
Diffstat (limited to 'src/libexpr')
-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 209a05d11..bfe41c9fa 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);
}