aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/installables.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-10-22 14:27:04 -0600
committerBen Burdette <bburdette@gmail.com>2021-10-22 14:27:04 -0600
commite54f17eb46bc487abc38e70dfc2f1c617fb59d32 (patch)
treef57d0be12d6b472ed0aacc6ffef92aec3bae3593 /src/libcmd/installables.cc
parentcbc2f0fe31576a6403e179bdbbaf9aefa113555b (diff)
remove more debug code
Diffstat (limited to 'src/libcmd/installables.cc')
-rw-r--r--src/libcmd/installables.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc
index c3436acf9..7f7a89b37 100644
--- a/src/libcmd/installables.cc
+++ b/src/libcmd/installables.cc
@@ -249,20 +249,6 @@ void completeFlakeRefWithFragment(
completeFlakeRef(evalState->store, prefix);
}
-/*
-ref<EvalState> EvalCommand::getEvalState()
-{
- if (!evalState)
- evalState = std::make_shared<EvalState>(searchPath, getStore());
- return ref<EvalState>(evalState);
-}
-
-EvalCommand::~EvalCommand()
-{
- if (evalState)
- evalState->printStats();
-}
-*/
void completeFlakeRef(ref<Store> store, std::string_view prefix)
{
@@ -618,11 +604,7 @@ std::vector<std::shared_ptr<Installable>> SourceExprCommand::parseInstallables(
if (file)
state->evalFile(lookupFileArg(*state, *file), *vFile);
else {
- // std::cout << "pre parseExprFromString" << std::endl;
auto e = state->parseExprFromString(*expr, absPath("."));
-
- // std::cout << "pre eval" << std::endl;
-
state->eval(e, *vFile);
}