Revert "buildDotnetModule: enable RestoreUseStaticGraphEvaluation"

This reverts commit 0b1856bfe3.

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`.
This commit is contained in:
Jörg Thalheim 2022-03-02 11:07:14 +01:00
parent 302eaffd01
commit b750049336
No known key found for this signature in database
2 changed files with 0 additions and 2 deletions

View file

@ -158,7 +158,6 @@ in stdenvNoCC.mkDerivation (args // {
${lib.optionalString (!enableParallelBuilding) "--disable-parallel"} \
-p:ContinuousIntegrationBuild=true \
-p:Deterministic=true \
-p:RestoreUseStaticGraphEvaluation=true \
--packages "$HOME/nuget_pkgs" \
${lib.optionalString (dotnetRestoreFlags != []) (builtins.toString dotnetRestoreFlags)} \
${lib.optionalString (dotnetFlags != []) (builtins.toString dotnetFlags)}

View file

@ -16,7 +16,6 @@ dotnetConfigureHook() {
dotnet restore "$project" \
-p:ContinuousIntegrationBuild=true \
-p:Deterministic=true \
-p:RestoreUseStaticGraphEvaluation=true \
--source "@nugetSource@/lib" \
${parallelFlag-} \
"${dotnetRestoreFlags[@]}" \