about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/eval/src/value/list.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tvix/eval/src/value/list.rs b/tvix/eval/src/value/list.rs
index f90d625ce3..2604b935ed 100644
--- a/tvix/eval/src/value/list.rs
+++ b/tvix/eval/src/value/list.rs
@@ -26,6 +26,12 @@ impl TotalDisplay for NixList {
     }
 }
 
+impl From<Rc<Vec<Value>>> for NixList {
+    fn from(v: Rc<Vec<Value>>) -> Self {
+        Self(v)
+    }
+}
+
 impl From<Vec<Value>> for NixList {
     fn from(vs: Vec<Value>) -> Self {
         Self(Rc::new(vs))