Revert "buildDotnetModule: enable RestoreUseStaticGraphEvaluation"
This reverts commit 0b1856bfe3837b4509b180b4e9e51d19a88231ba.
This broke one of our clients projects where a local libary could no
longer be found. Since there is no easy way to disable it's better
if this flag is set per project using `dotnetRestoreFlags`.
commitb7500493369cea2fc5207bbb4fbf3af52a995b95
authorJörg Thalheim <joerg@thalheim.io>
dateWed 2 Mar 2022, 11:07 (5 years ago)
parent302eaff
pkgs/build-support/dotnet/build-dotnet-module/default.nix−1
@@ -158,7 +158,6 @@ in stdenvNoCC.mkDerivation (args // {
158158 ${lib.optionalString (!enableParallelBuilding) "--disable-parallel"} \
159159 -p:ContinuousIntegrationBuild=true \
160160 -p:Deterministic=true \
161− -p:RestoreUseStaticGraphEvaluation=true \
162161 --packages "$HOME/nuget_pkgs" \
163162 ${lib.optionalString (dotnetRestoreFlags != []) (builtins.toString dotnetRestoreFlags)} \
164163 ${lib.optionalString (dotnetFlags != []) (builtins.toString dotnetFlags)}
pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-configure-hook.sh−1
@@ -16,7 +16,6 @@ dotnetConfigureHook() {
1616 dotnet restore "$project" \
1717 -p:ContinuousIntegrationBuild=true \
1818 -p:Deterministic=true \
19− -p:RestoreUseStaticGraphEvaluation=true \
2019 --source "@nugetSource@/lib" \
2120 ${parallelFlag-} \
2221 "${dotnetRestoreFlags[@]}" \