summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-02-10 13:42:48 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-02-10 17:24:47 +0100
commite25d1dc71c1c7387f5d8aac76dc6df0a38168dec (patch)
treec0c4f9600f0011172416d628d492223eb9e39061 /dev-dotnet
parentdev-dotnet/dotnet-outdated: use dotnet-pkg_force-compat (diff)
downloadgentoo-e25d1dc71c1c7387f5d8aac76dc6df0a38168dec.tar.gz
gentoo-e25d1dc71c1c7387f5d8aac76dc6df0a38168dec.tar.bz2
gentoo-e25d1dc71c1c7387f5d8aac76dc6df0a38168dec.zip
dev-dotnet/fantomas: use eclass for NuGet.config manipulation
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/fantomas/fantomas-6.2.3.ebuild13
1 files changed, 1 insertions, 12 deletions
diff --git a/dev-dotnet/fantomas/fantomas-6.2.3.ebuild b/dev-dotnet/fantomas/fantomas-6.2.3.ebuild
index d1be8a007fb9..ed5c618a2d3e 100644
--- a/dev-dotnet/fantomas/fantomas-6.2.3.ebuild
+++ b/dev-dotnet/fantomas/fantomas-6.2.3.ebuild
@@ -255,18 +255,7 @@ src_unpack() {
src_prepare() {
dotnet-pkg_src_prepare
- find "${S}" -type f -iname nuget.config -exec rm -v {} + || 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
-
- # Reimplementing "dotnet build.fsx -p Init" in shell:
+ # Reimplementing "dotnet build.fsx -p Init" in shell.
mkdir -p "${S}/.deps" || die
ln -s "${WORKDIR}/fsharp-${FCS_COMMIT}" "${S}/.deps/${FCS_COMMIT}" || die
find "${S}/.deps/${FCS_COMMIT}/src" -type f \