summaryrefslogtreecommitdiff
path: root/shells/powershell/files/patch-nuget.config
diff options
context:
space:
mode:
Diffstat (limited to 'shells/powershell/files/patch-nuget.config')
-rw-r--r--shells/powershell/files/patch-nuget.config15
1 files changed, 15 insertions, 0 deletions
diff --git a/shells/powershell/files/patch-nuget.config b/shells/powershell/files/patch-nuget.config
new file mode 100644
index 000000000000..fa4c90932f5c
--- /dev/null
+++ b/shells/powershell/files/patch-nuget.config
@@ -0,0 +1,15 @@
+diff --git a/nuget.config.orig b/nuget.config
+index 388a65572dd1..7a6c69b95096 100644
+--- nuget.config.orig
++++ nuget.config
+@@ -2,7 +2,9 @@
+ <configuration>
+ <packageSources>
+ <clear />
+- <add key="powershell" value="https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/PowerShell/nuget/v3/index.json" />
++ <add key="a" value="%%LOCALBASE%%/share/dotnet/library-packs" />
++ <add key="b" value="%%LOCALBASE%%/share/dotnet/packs" />
++ <add key="c" value="%%NUGET_DISTDIR%%" />
+ </packageSources>
+ <disabledPackageSources>
+ <clear />