about summary refs log tree commit diff
path: root/tvix/eval/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src')
-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 f90d625ce353..2604b935ed67 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))