about summary refs log tree commit diff
path: root/tvix/nix-compat-derive/src/de.rs
diff options
context:
space:
mode:
authorBrian Olsen <brian@maven-group.org>2024-11-03T19·28+0100
committerclbot <clbot@tvl.fyi>2024-11-04T00·10+0000
commit37a7bfa1636e42359675c6f4ede90b892c1da5bf (patch)
tree13361575f8279c9ef4669a88a80882653c157dbc /tvix/nix-compat-derive/src/de.rs
parent685f25ebff8e676d16e4de5f86d4ad2845fef23d (diff)
chore(tvix/nix-compat-derive): Remove references to nixrs r/8887
Some references to nixrs had sneaked in while writing the original
CL so this just removes those.

Change-Id: I635adbd2de46c7c1f31e1d449396253a78e1b762
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12727
Reviewed-by: Vladimir Kryachko <v.kryachko@gmail.com>
Autosubmit: Brian Olsen <me@griff.name>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat-derive/src/de.rs')
-rw-r--r--tvix/nix-compat-derive/src/de.rs7
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();