+1
-1
doc/languages-frameworks/dotnet.section.md
+1
-1
doc/languages-frameworks/dotnet.section.md
···* `dotnetPackFlags` can be used to pass flags to `dotnet pack`. Used only if `packNupkg` is set to `true`.-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.
+72
maintainers/scripts/update-dotnet-lockfiles.nix
+72
maintainers/scripts/update-dotnet-lockfiles.nix
···+if lib.isAttrs value && (value.recurseForDerivations or false || value.recurseForRelease or false) then
+2
-3
pkgs/applications/blockchains/nbxplorer/util/update-common.sh
+2
-3
pkgs/applications/blockchains/nbxplorer/util/update-common.sh
·········
+1
-3
pkgs/applications/emulators/ryujinx/updater.sh
+1
-3
pkgs/applications/emulators/ryujinx/updater.sh
···# `export GITHUB_TOKEN="$(cat ~/.config/gh/config.yml | yq '.hosts."github.com".oauth_token' -r)"`···
-1
pkgs/applications/graphics/pinta/default.nix
-1
pkgs/applications/graphics/pinta/default.nix
+1
-3
pkgs/applications/misc/ArchiSteamFarm/update.sh
+1
-3
pkgs/applications/misc/ArchiSteamFarm/update.sh
···new_version="$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} -s "https://api.github.com/repos/JustArchiNET/ArchiSteamFarm/releases" | jq -r 'map(select(.prerelease == false)) | .[0].tag_name')"···
+1
-2
pkgs/applications/version-management/git-credential-manager/update.sh
+1
-2
pkgs/applications/version-management/git-credential-manager/update.sh
···
+15
-7
pkgs/build-support/dotnet/build-dotnet-module/default.nix
+15
-7
pkgs/build-support/dotnet/build-dotnet-module/default.nix
···else throw "Defining the `nugetDeps` attribute is required, as to lock the NuGet dependencies. This file can be generated by running the `passthru.fetch-deps` script.";·········+if lib.isPath nugetDepsFile && !lib.hasPrefix "${builtins.storeDir}/" (toString nugetDepsFile)······-echo -e "# This file was automatically generated by passthru.fetch-deps.\n# Please dont edit it manually, your changes might get overwritten!\n" > "$depsFile"+echo -e "# This file was automatically generated by passthru.fetch-deps.\n# Please dont edit it manually, your changes might get overwritten!\n" > "$tmpFile"
+8
-8
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-install-hook.sh
+8
-8
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-install-hook.sh
···
+4
-2
pkgs/build-support/dotnet/make-nuget-deps/default.nix
+4
-2
pkgs/build-support/dotnet/make-nuget-deps/default.nix
······
+1
pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh
+1
pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh
+1
-1
pkgs/development/compilers/roslyn/default.nix
+1
-1
pkgs/development/compilers/roslyn/default.nix
+1
pkgs/development/compilers/roslyn/deps.nix
+1
pkgs/development/compilers/roslyn/deps.nix
···(fetchNuGet { pname = "Microsoft.CodeAnalysis.PublicApiAnalyzers"; version = "3.3.4-beta1.22160.2"; sha256 = "0ih091ls51x5k9q998g14pfy4r3g1ygvzihj1gkrl79wydn7b0n3"; url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/49e5305d-d845-4a14-9d69-6f5dbfb9570c/nuget/v3/flat2/microsoft.codeanalysis.publicapianalyzers/3.3.4-beta1.22160.2/microsoft.codeanalysis.publicapianalyzers.3.3.4-beta1.22160.2.nupkg"; })(fetchNuGet { pname = "Microsoft.CSharp"; version = "4.7.0"; sha256 = "0gd67zlw554j098kabg887b5a6pq9kzavpa3jjy5w53ccjzjfy8j"; url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.csharp/4.7.0/microsoft.csharp.4.7.0.nupkg"; })(fetchNuGet { pname = "Microsoft.DiaSymReader.Native"; version = "17.0.0-beta1.21524.1"; sha256 = "0gash3xgzvcb78w2xqv003l0cld199zpfilnjbagwbr5ikdh6f3s"; url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.diasymreader.native/17.0.0-beta1.21524.1/microsoft.diasymreader.native.17.0.0-beta1.21524.1.nupkg"; })+(fetchNuGet { pname = "Microsoft.DotNet.Arcade.Sdk"; version = "7.0.0-beta.22171.2"; sha256 = "15y26skavivkwhnpfa984if3cnpnllbbwbdsjiyfdcalp32fhmjq"; url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/1a5f89f6-d8da-4080-b15f-242650c914a8/nuget/v3/flat2/microsoft.dotnet.arcade.sdk/7.0.0-beta.22171.2/microsoft.dotnet.arcade.sdk.7.0.0-beta.22171.2.nupkg"; })(fetchNuGet { pname = "Microsoft.DotNet.XliffTasks"; version = "1.0.0-beta.22169.1"; sha256 = "12fcin3d4m0lawla9fflz9f2qispzgvzf1mwkpscmlk5lnvb0riw"; url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/1a5f89f6-d8da-4080-b15f-242650c914a8/nuget/v3/flat2/microsoft.dotnet.xlifftasks/1.0.0-beta.22169.1/microsoft.dotnet.xlifftasks.1.0.0-beta.22169.1.nupkg"; })(fetchNuGet { pname = "Microsoft.Net.Compilers.Toolset"; version = "4.2.0-1.final"; sha256 = "02zas22hj29gv2w7h74q786i0cvxffgwqai21ri0zj41nb2hwhyq"; url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.net.compilers.toolset/4.2.0-1.final/microsoft.net.compilers.toolset.4.2.0-1.final.nupkg"; })(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "3.1.32"; sha256 = "1zygp70xrk5zggs3q4a6yc6jfdwzcsjjsapqpwn6qyx35m69b72p"; url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.host.linux-arm64/3.1.32/microsoft.netcore.app.host.linux-arm64.3.1.32.nupkg"; })
-11
pkgs/development/compilers/roslyn/extended-deps.nix
-11
pkgs/development/compilers/roslyn/extended-deps.nix
···-url = "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/1a5f89f6-d8da-4080-b15f-242650c914a8/nuget/v3/flat2/microsoft.dotnet.arcade.sdk/${version}/microsoft.dotnet.arcade.sdk.${version}.nupkg";
+1
-1
pkgs/development/tools/continuous-integration/github-runner/update.sh
+1
-1
pkgs/development/tools/continuous-integration/github-runner/update.sh
+1
-1
pkgs/development/tools/marksman/update.sh
+1
-1
pkgs/development/tools/marksman/update.sh
+1
-3
pkgs/development/tools/omnisharp-roslyn/updater.sh
+1
-3
pkgs/development/tools/omnisharp-roslyn/updater.sh
···new_version="$(curl -s "https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases?per_page=1" | jq -r '.[0].name')"···
+1
-3
pkgs/games/osu-lazer/update.sh
+1
-3
pkgs/games/osu-lazer/update.sh
···new_version="$(curl -s "https://api.github.com/repos/ppy/osu/releases?per_page=1" | jq -r '.[0].name')"···
+1
-3
pkgs/games/space-station-14-launcher/update.sh
+1
-3
pkgs/games/space-station-14-launcher/update.sh
···new_version="$(curl -s "https://api.github.com/repos/space-wizards/SS14.Launcher/releases?per_page=1" | jq -r '.[0].tag_name' | sed 's/v//')"···
+1
-3
pkgs/servers/jackett/updater.sh
+1
-3
pkgs/servers/jackett/updater.sh
···new_version="$(curl -s "https://api.github.com/repos/jackett/jackett/releases?per_page=1" | jq -r '.[0].name')"···
+1
-5
pkgs/servers/jellyfin/update.sh
+1
-5
pkgs/servers/jellyfin/update.sh
···
+1
-3
pkgs/servers/nosql/eventstore/updater.sh
+1
-3
pkgs/servers/nosql/eventstore/updater.sh
···new_version="$(curl -s "https://api.github.com/repos/EventStore/EventStore/releases/latest" | jq -r '.name')"···
+1
-3
pkgs/tools/X11/opentabletdriver/update.sh
+1
-3
pkgs/tools/X11/opentabletdriver/update.sh
···new_version="$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} -s "https://api.github.com/repos/OpenTabletDriver/OpenTabletDriver/releases" | jq -r 'map(select(.prerelease == false)) | .[0].tag_name' | cut -c2-)"···
+1
-3
pkgs/tools/backup/discordchatexporter-cli/updater.sh
+1
-3
pkgs/tools/backup/discordchatexporter-cli/updater.sh
···new_version="$(curl -s "https://api.github.com/repos/tyrrrz/DiscordChatExporter/releases?per_page=1" | jq -r '.[0].name')"···
+1
-2
pkgs/tools/misc/depotdownloader/update.sh
+1
-2
pkgs/tools/misc/depotdownloader/update.sh
···latestVersion="$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/SteamRE/DepotDownloader/releases?per_page=1" \···