about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/value-to-json.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/value-to-json.cc')
-rw-r--r--third_party/nix/src/libexpr/value-to-json.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/third_party/nix/src/libexpr/value-to-json.cc b/third_party/nix/src/libexpr/value-to-json.cc
index 3e5e025a27be..a338d4eed79a 100644
--- a/third_party/nix/src/libexpr/value-to-json.cc
+++ b/third_party/nix/src/libexpr/value-to-json.cc
@@ -73,10 +73,6 @@ void printValueAsJSON(EvalState& state, bool strict, Value& v,
       break;
     }
 
-    case tExternal:
-      v.external->printValueAsJSON(state, strict, out, context);
-      break;
-
     case tFloat:
       out.write(v.fpoint);
       break;
@@ -92,10 +88,4 @@ void printValueAsJSON(EvalState& state, bool strict, Value& v,
   printValueAsJSON(state, strict, v, out, context);
 }
 
-void ExternalValueBase::printValueAsJSON(EvalState& state, bool strict,
-                                         JSONPlaceholder& out,
-                                         PathSet& context) const {
-  throw TypeError(format("cannot convert %1% to JSON") % showType());
-}
-
 }  // namespace nix