From 4bf8955fa21be292025748ae9727cc851f5fb735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20D=C3=B6nszelmann?= Date: Wed, 1 Jan 2025 11:58:31 +0100 Subject: [PATCH] Update 80_using_a_rust_overlay.md I'm pretty sure this needs to be `generatedCargoNix` instead of `appliedCargoNix`. I'm no expert using this project but I think I spent some time debugging this before, and today again, where I fixed my problem by changing this. --- docs/src/content/docs/00_guides/80_using_a_rust_overlay.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/docs/00_guides/80_using_a_rust_overlay.md b/docs/src/content/docs/00_guides/80_using_a_rust_overlay.md index 412ff33e..5865da16 100644 --- a/docs/src/content/docs/00_guides/80_using_a_rust_overlay.md +++ b/docs/src/content/docs/00_guides/80_using_a_rust_overlay.md @@ -52,7 +52,7 @@ In a flake with flake-parts: cargo = pkgs.rust-bin.stable.latest.default; }; - generatedCargoNix = inputs.crate2nix.tools.${system}.appliedCargoNix { + generatedCargoNix = inputs.crate2nix.tools.${system}.generatedCargoNix { name = "rustnix"; src = ./.; };