about summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-06-28 23:41:18 +0200
committerGitHub <noreply@github.com>2023-06-28 23:41:18 +0200
commit198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c (patch)
tree1eb1cec186e41f0f2bbed767dff2c5fe906230cb /doc/languages-frameworks
parent37bceead9019439c608464e87377626608becb09 (diff)
parent7af46fb0476330aaa2fe7a1627827007005918ef (diff)
downloadnixlib-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar
nixlib-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.gz
nixlib-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.bz2
nixlib-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.lz
nixlib-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.xz
nixlib-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.tar.zst
nixlib-198bd0a4a7dbf059b4bbb307c0b389ee8d8e5d1c.zip
Merge pull request #239622 from corngood/dotnet-misc
dotnet: misc fixes 
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