about summary refs log tree commit diff
path: root/tvix/nix-compat-derive/src/ser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat-derive/src/ser.rs')
-rw-r--r--tvix/nix-compat-derive/src/ser.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tvix/nix-compat-derive/src/ser.rs b/tvix/nix-compat-derive/src/ser.rs
index 47ddfa39366d..52e777c28cf4 100644
--- a/tvix/nix-compat-derive/src/ser.rs
+++ b/tvix/nix-compat-derive/src/ser.rs
@@ -55,13 +55,13 @@ fn nix_serialize_impl(
 
     quote! {
         #[automatically_derived]
-        impl #impl_generics #crate_path::nix_daemon::ser::NixSerialize for #ty #ty_generics
+        impl #impl_generics #crate_path::wire::ser::NixSerialize for #ty #ty_generics
             #where_clause
         {
             async fn serialize<W>(&self, writer: &mut W) -> std::result::Result<(), W::Error>
-                where W: #crate_path::nix_daemon::ser::NixWrite
+                where W: #crate_path::wire::ser::NixWrite
             {
-                use #crate_path::nix_daemon::ser::Error as _;
+                use #crate_path::wire::ser::Error as _;
                 #body
             }
         }
@@ -207,7 +207,7 @@ fn nix_serialize_try_into(crate_path: &Path, ty: &Type) -> TokenStream {
     quote_spanned! {
         ty.span() =>
         {
-            use #crate_path::nix_daemon::ser::Error;
+            use #crate_path::wire::ser::Error;
             let other : #ty = <Self as Clone>::clone(self).try_into().map_err(Error::unsupported_data)?;
             writer.write_value(&other).await
         }