summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-02-10 14:14:43 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-02-10 17:24:48 +0100
commit9e0671d075dbe27287f0c26f98d3a79903f2e17c (patch)
treec0cb59a9c7295512f9167d2ad2cabbfebaf58aad /dev-dotnet
parentdev-dotnet/netcoredbg: use dotnet-pkg eclass (diff)
downloadgentoo-9e0671d075dbe27287f0c26f98d3a79903f2e17c.tar.gz
gentoo-9e0671d075dbe27287f0c26f98d3a79903f2e17c.tar.bz2
gentoo-9e0671d075dbe27287f0c26f98d3a79903f2e17c.zip
dev-dotnet/fsautocomplete: use eclass for NuGet.config manipulation
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/fsautocomplete/fsautocomplete-0.69.0.ebuild12
1 files changed, 1 insertions, 11 deletions
diff --git a/dev-dotnet/fsautocomplete/fsautocomplete-0.69.0.ebuild b/dev-dotnet/fsautocomplete/fsautocomplete-0.69.0.ebuild
index 067b6596c2fa..b02efa598d3b 100644
--- a/dev-dotnet/fsautocomplete/fsautocomplete-0.69.0.ebuild
+++ b/dev-dotnet/fsautocomplete/fsautocomplete-0.69.0.ebuild
@@ -322,22 +322,12 @@ src_unpack() {
src_prepare() {
dotnet-pkg_src_prepare
+ rm paket.lock || die
sed -i paket.dependencies -e "s|@NUGET_PACKAGES@|${NUGET_PACKAGES}|g" || die
- cat << EOF > NuGet.config || die
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-<packageSources>
-<clear />
-<add key="nuget" value="${NUGET_PACKAGES}" />
-</packageSources>
-</configuration>
-EOF
}
src_configure() {
dotnet-pkg-base_restore_tools
-
- rm paket.lock || die
edotnet paket install
dotnet-pkg_src_configure