From bf81dd40e91ef7e94582f051412f160114426df4 Mon Sep 17 00:00:00 2001 From: Matthew Kenigsberg Date: Sat, 9 May 2020 10:14:57 -0600 Subject: [PATCH] InstallableExpr unused --- src/nix/installables.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/nix/installables.cc b/src/nix/installables.cc index 57060e9b1..16e03875c 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -237,23 +237,6 @@ Buildables InstallableValue::toBuildables() return res; } -struct InstallableExpr : InstallableValue -{ - std::string text; - - InstallableExpr(SourceExprCommand & cmd, const std::string & text) - : InstallableValue(cmd), text(text) { } - - std::string what() override { return text; } - - std::pair toValue(EvalState & state) override - { - auto v = state.allocValue(); - state.eval(state.parseExprFromString(text, absPath(".")), *v); - return {v, noPos}; - } -}; - struct InstallableAttrPath : InstallableValue { RootValue v;