about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/value.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/value.hh')
-rw-r--r--third_party/nix/src/libexpr/value.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/value.hh b/third_party/nix/src/libexpr/value.hh
index 85ce9e7a1ba0..82360c566813 100644
--- a/third_party/nix/src/libexpr/value.hh
+++ b/third_party/nix/src/libexpr/value.hh
@@ -95,7 +95,7 @@ struct Value {
     bool boolean;
     NixString string;
     const char* path;
-    Bindings* attrs;
+    std::shared_ptr<Bindings> attrs;
     NixList* list;
     NixThunk thunk;
     NixApp app;  // TODO(tazjin): "app"?