diff options
Diffstat (limited to 'tvix/nix-compat-derive/src/de.rs')
-rw-r--r-- | tvix/nix-compat-derive/src/de.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tvix/nix-compat-derive/src/de.rs b/tvix/nix-compat-derive/src/de.rs index ee79ea9d1012..8dac6964f612 100644 --- a/tvix/nix-compat-derive/src/de.rs +++ b/tvix/nix-compat-derive/src/de.rs @@ -7,9 +7,12 @@ use crate::internal::attrs::Default; use crate::internal::inputs::RemoteInput; use crate::internal::{attrs, Container, Context, Data, Field, Remote, Style, Variant}; -pub fn expand_nix_deserialize(nnixrs: Path, input: &mut DeriveInput) -> syn::Result<TokenStream> { +pub fn expand_nix_deserialize( + crate_path: Path, + input: &mut DeriveInput, +) -> syn::Result<TokenStream> { let cx = Context::new(); - let cont = Container::from_ast(&cx, nnixrs, input); + let cont = Container::from_ast(&cx, crate_path, input); cx.check()?; let cont = cont.unwrap(); |