+4
-4
doc/languages-frameworks/dotnet.section.md
+4
-4
doc/languages-frameworks/dotnet.section.md
···For more detail about managing the `deps.nix` file, see [Generating and updating NuGet dependencies](#generating-and-updating-nuget-dependencies)-* `packNupkg` is used to pack project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `projectReferences`.-* `projectReferences` can be used to resolve `ProjectReference` project items. Referenced projects can be packed with `buildDotnetModule` by setting the `packNupkg = true` attribute and passing a list of derivations to `projectReferences`. Since we are sharing referenced projects as NuGets they must be added to csproj/fsproj files as `PackageReference` as well.<PackageReference Include="bar" Version="*" Condition=" '$(ContinuousIntegrationBuild)'=='true' "/>···-projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure.
···For more detail about managing the `deps.nix` file, see [Generating and updating NuGet dependencies](#generating-and-updating-nuget-dependencies)+* `packNupkg` is used to pack project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `buildInputs`.+* `buildInputs` can be used to resolve `ProjectReference` project items. Referenced projects can be packed with `buildDotnetModule` by setting the `packNupkg = true` attribute and passing a list of derivations to `buildInputs`. Since we are sharing referenced projects as NuGets they must be added to csproj/fsproj files as `PackageReference` as well.<PackageReference Include="bar" Version="*" Condition=" '$(ContinuousIntegrationBuild)'=='true' "/>···+buildInputs = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure.
+1
pkgs/build-support/dotnet/build-dotnet-global-tool/default.nix
+1
pkgs/build-support/dotnet/build-dotnet-global-tool/default.nix
+48
-80
pkgs/build-support/dotnet/build-dotnet-module/default.nix
+48
-80
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.";······
·········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.";······
+13
-102
pkgs/build-support/dotnet/build-dotnet-module/fetch-deps.sh
+13
-102
pkgs/build-support/dotnet/build-dotnet-module/fetch-deps.sh
···-echo " <output path> The path to write the lockfile to. A temporary file is used if this is not set"echo -e "# This file was automatically generated by passthru.fetch-deps.\n# Please dont edit it manually, your changes might get overwritten!\n" > "$tmpFile"
···echo -e "# This file was automatically generated by passthru.fetch-deps.\n# Please dont edit it manually, your changes might get overwritten!\n" > "$tmpFile"
+2
-12
pkgs/build-support/dotnet/build-dotnet-module/hooks/default.nix
+2
-12
pkgs/build-support/dotnet/build-dotnet-module/hooks/default.nix
·········
·········
+20
-17
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh
+20
-17
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh
······
······
+20
-18
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-check-hook.sh
+20
-18
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-check-hook.sh
·········
·········
+26
-66
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-configure-hook.sh
+26
-66
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-configure-hook.sh
···-echo 'Hint: set `nugetSource` if using these hooks individually. If this is happening with `buildDotnetModule`, please open an issue.'···-find -name paket.dependencies -exec sed -i "s/source .*/source $nugetSourceSedQuoted\/lib/g" {} \;···-# This makes sure that if the binary requires some specific runtime dependencies, it can find it.
·········
+55
-24
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-install-hook.sh
+55
-24
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-install-hook.sh
·········
·········
+71
-35
pkgs/build-support/dotnet/make-nuget-deps/default.nix
+71
-35
pkgs/build-support/dotnet/make-nuget-deps/default.nix
···-# Signing logic is https://github.com/NuGet/NuGet.Client/blob/128a5066b1438627ac69a2ffe9de564b2c09ee4d/src/NuGet.Core/NuGet.Packaging/Signing/Archive/SignedPackageArchiveIOUtility.cs#L518
···
+4
-3
pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh
+4
-3
pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh
···
-2
pkgs/by-name/to/torrentstream/package.nix
-2
pkgs/by-name/to/torrentstream/package.nix
···
+5
-2
pkgs/development/compilers/dotnet/combine-packages.nix
+5
-2
pkgs/development/compilers/dotnet/combine-packages.nix
······
······
+29
-32
pkgs/development/compilers/dotnet/common.nix
+29
-32
pkgs/development/compilers/dotnet/common.nix
······-export HOME=$(mktemp -d) # Dotnet expects a writable home directory for its configuration files-export DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=1 # Skip integrity check on first run, which fails due to read-only directory···············
·····················
+52
-37
pkgs/development/compilers/dotnet/default.nix
+52
-37
pkgs/development/compilers/dotnet/default.nix
···-systemToDotnetRid = system: runtimeIdentifierMap.${system} or (throw "unsupported platform ${system}");
···+systemToDotnetRid = system: runtimeIdentifierMap.${system} or (throw "unsupported platform ${system}");
+77
pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh
+77
pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh
···
···
+8
pkgs/development/compilers/dotnet/dotnet-setup-hook.sh
+8
pkgs/development/compilers/dotnet/dotnet-setup-hook.sh
···
···+export DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=1 # Skip integrity check on first run, which fails due to read-only directory
-1
pkgs/development/compilers/dotnet/dotnet.nix
-1
pkgs/development/compilers/dotnet/dotnet.nix
+12
pkgs/development/compilers/dotnet/nuget-package-hook.nix
+12
pkgs/development/compilers/dotnet/nuget-package-hook.nix
+38
pkgs/development/compilers/dotnet/nuget-package-hook.sh
+38
pkgs/development/compilers/dotnet/nuget-package-hook.sh
···
···
+49
-4
pkgs/development/compilers/dotnet/packages.nix
+49
-4
pkgs/development/compilers/dotnet/packages.nix
·········-cp -r "$src"/Private.SourceBuilt.Artifacts.*.${targetRid}/*Microsoft.{NET.ILLink.Tasks,NETCore,DotNet,AspNetCore}.*.nupkg "$packages"
·········
+5
-10
pkgs/development/compilers/dotnet/patch-nupkgs.nix
+5
-10
pkgs/development/compilers/dotnet/patch-nupkgs.nix
············
············
+10
-5
pkgs/development/compilers/dotnet/stage0.nix
+10
-5
pkgs/development/compilers/dotnet/stage0.nix
·········
·········
+1
-2
pkgs/development/compilers/dotnet/stage1.nix
+1
-2
pkgs/development/compilers/dotnet/stage1.nix
······
+21
-1
pkgs/development/compilers/dotnet/vmr.nix
+21
-1
pkgs/development/compilers/dotnet/vmr.nix
···············
············+for nupkg in $out/Private.SourceBuilt.Artifacts.*.${targetRid}/{,SourceBuildReferencePackages/}*.nupkg; do···
+7
-4
pkgs/development/python-modules/clr-loader/default.nix
+7
-4
pkgs/development/python-modules/clr-loader/default.nix
······
······
+3
-1
pkgs/development/python-modules/pythonnet/default.nix
+3
-1
pkgs/development/python-modules/pythonnet/default.nix
······
······
+1
pkgs/development/tools/build-managers/msbuild/default.nix
+1
pkgs/development/tools/build-managers/msbuild/default.nix
-14
pkgs/development/tools/fsautocomplete/deps.nix
-14
pkgs/development/tools/fsautocomplete/deps.nix
···(fetchNuGet { pname = "McMaster.NETCore.Plugins"; version = "1.4.0"; hash = "sha256-PtpD8S74UXyoA80YRDlrp8qR/I7Ws7+4m2EJZzH4WMw="; })(fetchNuGet { pname = "MessagePack"; version = "2.5.108"; hash = "sha256-+vMXyEbfutY5WOFuFnNF24uLcKJTTdntVrVlSJH4yjI="; })(fetchNuGet { pname = "MessagePack.Annotations"; version = "2.5.108"; hash = "sha256-u3Qu8UftNIz3oIzQUMa7Z0G6VzmDLcAnAeNQ3lB3YVk="; })-(fetchNuGet { pname = "Microsoft.AspNetCore.App.Ref"; version = "6.0.32"; hash = "sha256-1mQTxwruzhm20YdlZefrYuy7xrBs17pH4Vo0K3Tl7Fc="; })-(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm64"; version = "6.0.32"; hash = "sha256-cIe0F+7rgwYSmh0VuFuQsUI9iEW5hn2KCD2H8Cs/k2g="; })-(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "6.0.32"; hash = "sha256-TkYv7h9NBr3I+FIaXeLU4MawJtgT2RWhs35ewGRDKx8="; })-(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-arm64"; version = "6.0.32"; hash = "sha256-RaC37ZQcJn7ykXJrtV7ibxh0GcalRyPKncxlqOLou+I="; })-(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-x64"; version = "6.0.32"; hash = "sha256-vh/e46xM/HbhbBvL5eP5/DCHwCP2Bg7WoMS28nBXWV0="; })(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "7.0.0"; hash = "sha256-1e031E26iraIqun84ad0fCIR4MJZ1hcQo4yFN+B7UfE="; })(fetchNuGet { pname = "Microsoft.Bcl.HashCode"; version = "1.1.0"; hash = "sha256-IFvXCMV2joahytylQ2BGSpZd2tdX0Rss++ZcClVT+r0="; })(fetchNuGet { pname = "Microsoft.Build"; version = "17.2.0"; hash = "sha256-JzPqbxFyotNhSr5tokVevdqB9+nJKx4YH2hPkC05GiY="; })···(fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "6.0.0"; hash = "sha256-AgvysszpQ11AiTBJFkvSy8JnwIWTj15Pfek7T7ThUc4="; })(fetchNuGet { pname = "Microsoft.NET.StringTools"; version = "17.4.0"; hash = "sha256-+9uBaUDZ3roUJwyYJUL30Mz+3C6LE16FzfQKgS0Yveo="; })(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.4.1"; hash = "sha256-Kl8ZAWCMFZcYEfPDr/YG4zfQEuEzlOuhWI40Zl2S4Qo="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "6.0.32"; hash = "sha256-yDOkSHEGuGG6u+rB5u+IC3rc2tQwvbjdqmgHcl7Gkn4="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "6.0.32"; hash = "sha256-2aDGkn0QqXXHUUSAwtQQbjKl5I6S0fcQWPciqPnOiM4="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-arm64"; version = "6.0.32"; hash = "sha256-n6hks4j88TRelq1O6SCeUH5GmxoSm5BWXGwnpnYJibI="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-x64"; version = "6.0.32"; hash = "sha256-nBBq4RYAgimBYOn/bN6JTFvJFYaqYXMHae2pmCzRaS8="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "6.0.32"; hash = "sha256-Fm3RUZNcro434rIu3c7unGviGeGBjXj2dGnr2mmrM2g="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm64"; version = "6.0.32"; hash = "sha256-kdj8ia/2du2oKGg4MJdO2XytpT3gQ9UOiHVCyfiX2V8="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "6.0.32"; hash = "sha256-/Hti30Ba12NDJQcG8pFTg6REVUDIrxZ/hRtEZNDlgxE="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-arm64"; version = "6.0.32"; hash = "sha256-A8MFGOMXFROH1QGUE7xzq5b5EskDyIQCQt7SLfGdSbU="; })-(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-x64"; version = "6.0.32"; hash = "sha256-y5YB62WlMrK10bR/+nNpI8luVRlD9W9ZG3GsX7AXzUM="; })(fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.1.1"; hash = "sha256-8hLiUKvy/YirCWlFwzdejD2Db3DaXhHxT7GSZx/znJg="; })(fetchNuGet { pname = "Microsoft.NETCore.Targets"; version = "1.1.3"; hash = "sha256-WLsf1NuUfRWyr7C7Rl9jiua9jximnVvzy6nk2D2bVRc="; })(fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies"; version = "1.0.3"; hash = "sha256-FBoJP5DHZF0QHM0xLm9yd4HJZVQOuSpSKA+VQRpphEE="; })
···(fetchNuGet { pname = "McMaster.NETCore.Plugins"; version = "1.4.0"; hash = "sha256-PtpD8S74UXyoA80YRDlrp8qR/I7Ws7+4m2EJZzH4WMw="; })(fetchNuGet { pname = "MessagePack"; version = "2.5.108"; hash = "sha256-+vMXyEbfutY5WOFuFnNF24uLcKJTTdntVrVlSJH4yjI="; })(fetchNuGet { pname = "MessagePack.Annotations"; version = "2.5.108"; hash = "sha256-u3Qu8UftNIz3oIzQUMa7Z0G6VzmDLcAnAeNQ3lB3YVk="; })(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "7.0.0"; hash = "sha256-1e031E26iraIqun84ad0fCIR4MJZ1hcQo4yFN+B7UfE="; })(fetchNuGet { pname = "Microsoft.Bcl.HashCode"; version = "1.1.0"; hash = "sha256-IFvXCMV2joahytylQ2BGSpZd2tdX0Rss++ZcClVT+r0="; })(fetchNuGet { pname = "Microsoft.Build"; version = "17.2.0"; hash = "sha256-JzPqbxFyotNhSr5tokVevdqB9+nJKx4YH2hPkC05GiY="; })···(fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "6.0.0"; hash = "sha256-AgvysszpQ11AiTBJFkvSy8JnwIWTj15Pfek7T7ThUc4="; })(fetchNuGet { pname = "Microsoft.NET.StringTools"; version = "17.4.0"; hash = "sha256-+9uBaUDZ3roUJwyYJUL30Mz+3C6LE16FzfQKgS0Yveo="; })(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.4.1"; hash = "sha256-Kl8ZAWCMFZcYEfPDr/YG4zfQEuEzlOuhWI40Zl2S4Qo="; })(fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "1.1.1"; hash = "sha256-8hLiUKvy/YirCWlFwzdejD2Db3DaXhHxT7GSZx/znJg="; })(fetchNuGet { pname = "Microsoft.NETCore.Targets"; version = "1.1.3"; hash = "sha256-WLsf1NuUfRWyr7C7Rl9jiua9jximnVvzy6nk2D2bVRc="; })(fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies"; version = "1.0.3"; hash = "sha256-FBoJP5DHZF0QHM0xLm9yd4HJZVQOuSpSKA+VQRpphEE="; })
+3
-27
pkgs/development/tools/godot/3/mono/default.nix
+3
-27
pkgs/development/tools/godot/3/mono/default.nix
·········
·········
+1
-1
pkgs/development/tools/godot/3/mono/make-deps.nix
+1
-1
pkgs/development/tools/godot/3/mono/make-deps.nix
+3
pkgs/development/tools/ilspycmd/default.nix
+3
pkgs/development/tools/ilspycmd/default.nix
···
-7
pkgs/servers/nosql/eventstore/default.nix
-7
pkgs/servers/nosql/eventstore/default.nix
···"EventStore.Projections.Core.Tests.Services.grpc_service.ServerFeaturesTests<LogFormat+V3,UInt32>.should_receive_expected_endpoints"
+1
-1
pkgs/top-level/all-packages.nix
+1
-1
pkgs/top-level/all-packages.nix
···
···