about summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2022-10-16 17:47:23 -0300
committerDavid McFarland <corngood@gmail.com>2023-06-24 19:13:16 -0300
commitee8ba995a746b317d94abcbaeb877f200e1cd37b (patch)
tree482ff75071c310176271c148af57de75057a78ed /doc/languages-frameworks
parent9c16cea2bbd0b8e172bec49382d1e35861892263 (diff)
downloadnixlib-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar
nixlib-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.gz
nixlib-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.bz2
nixlib-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.lz
nixlib-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.xz
nixlib-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.zst
nixlib-ee8ba995a746b317d94abcbaeb877f200e1cd37b.zip
buildDotnetModule: make fetch-deps find output path automatically
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r--doc/languages-frameworks/dotnet.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md
index 5b94c3d7dc2e..246490d67d26 100644
--- a/doc/languages-frameworks/dotnet.section.md
+++ b/doc/languages-frameworks/dotnet.section.md
@@ -123,7 +123,7 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila
 * `dotnetPackFlags` can be used to pass flags to `dotnet pack`. Used only if `packNupkg` is set to `true`.
 * `dotnetFlags` can be used to pass flags to all of the above phases.
 
-When packaging a new application, you need to fetch its dependencies. You can run `nix-build -A package.fetch-deps` to generate a script that will build a lockfile for you. After running the script you should have the location of the generated lockfile printed to the console, which can be copied to a stable directory. Then set `nugetDeps = ./deps.nix` and you're ready to build the derivation.
+When packaging a new application, you need to fetch its dependencies. Create an empty `deps.nix`, set `nugetDeps = ./deps.nix`, then run `nix-build -A package.fetch-deps` to generate a script that will build the lockfile for you.
 
 Here is an example `default.nix`, using some of the previously discussed arguments:
 ```nix