about summary refs log tree commit diff
path: root/tvix/nix-compat-derive/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat-derive/src/lib.rs')
-rw-r--r--tvix/nix-compat-derive/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat-derive/src/lib.rs b/tvix/nix-compat-derive/src/lib.rs
index e3faed02ebab..89735cadf315 100644
--- a/tvix/nix-compat-derive/src/lib.rs
+++ b/tvix/nix-compat-derive/src/lib.rs
@@ -264,8 +264,8 @@ mod internal;
 #[proc_macro_derive(NixDeserialize, attributes(nix))]
 pub fn derive_nix_deserialize(item: TokenStream) -> TokenStream {
     let mut input = syn::parse_macro_input!(item as DeriveInput);
-    let nnixrs: syn::Path = parse_quote!(::nix_compat);
-    de::expand_nix_deserialize(nnixrs, &mut input)
+    let crate_path: syn::Path = parse_quote!(::nix_compat);
+    de::expand_nix_deserialize(crate_path, &mut input)
         .unwrap_or_else(syn::Error::into_compile_error)
         .into()
 }