From d8bd63a129e07d44f0068bcddf017f7221faccbb Mon Sep 17 00:00:00 2001 From: David McFarland Date: Fri, 13 Sep 2024 16:27:13 -0300 Subject: [PATCH] doc/languages-frameworks/dotnet: improve documenation of fetch-deps --- doc/languages-frameworks/dotnet.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md index 2cbb7ea45d986..d9e0cbe163518 100644 --- a/doc/languages-frameworks/dotnet.section.md +++ b/doc/languages-frameworks/dotnet.section.md @@ -219,7 +219,7 @@ buildDotnetGlobalTool { ## Generating and updating NuGet dependencies {#generating-and-updating-nuget-dependencies} When writing a new expression, you can use the generated `fetch-deps` script to initialise the lockfile. -After creating a blank `deps.nix` and pointing `nugetDeps` to it, +After setting `nugetDeps` to the desired location of the lockfile (e.g. `./deps.nix`), build the script with `nix-build -A package.fetch-deps` and then run the result. (When the root attr is your package, it's simply `nix-build -A fetch-deps`.)