!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

125 Members
24 Servers

Load older messages


SenderMessageTime
17 Dec 2024
@corngood:corngood.comCorngoodYeah, and I actually have openssl 1.1 in my permitted list too :| I just carefully use it for compatibility with certain things.23:01:52
@gggkiller:matrix.orgGGGXen seems to do the same as well23:02:11
@whovian9369:matrix.orgWhovian9369I have openssl 1.1 in my premitted list because of Sublime Text 4. (Curse you, Sublime!)23:02:24
@6pak:matrix.org6pakme too for ancient unity23:02:53
@6pak:matrix.org6pakis there really no openssl1->3 shim?23:03:01
@corngood:corngood.comCorngood

me too for ancient unity

me too for modern unity 😭

actually I'm not 100% sure I still need it on unity 6

23:03:56
@whovian9369:matrix.orgWhovian9369 By the way, thank you all again for the time and thoughts with my issues on aaru. I'll leave them as config.permittedInsecurePackages entries and call it a day, if not making them throw and complain later. 23:04:11
@6pak:matrix.org6pakunity 6 should be fine23:04:23
@gggkiller:matrix.orgGGGdoes this mean that you plan to keep .NET 6 around even for the next release then?23:08:28
@gggkiller:matrix.orgGGGuntil now we've been keeping them deprecated for one release then removing on the next23:08:43
@corngood:corngood.comCorngoodI have no problem with removing it once it's unused in nixpkgs, and assuming nobody makes a good case to keep it. I can always resurrect it locally if I need to, and hopefully I won't by then.23:17:26
@gggkiller:matrix.orgGGGFair enough, I was afraid we'd have to keep a dead version of .NET around23:19:43
@whovian9369:matrix.orgWhovian9369 ($ rg -il --sort=path sdk_6 in my local checkout shows a number of packages that still appear to use it) 23:19:43
@gggkiller:matrix.orgGGGyeah, there's an open issue to get rid of it in nixpkgs23:19:57
@whovian9369:matrix.orgWhovian9369Ah wasn't familiar - Whoops!23:20:53
@gggkiller:matrix.orgGGGhttps://github.com/NixOS/nixpkgs/issues/32633523:21:07
@gggkiller:matrix.orgGGGmight jump into a few of them myself to speed it up honestly23:21:24
@gggkiller:matrix.orgGGGI just want to finish this nix to JSON PR already 😩23:21:42
@gggkiller:matrix.orgGGG and maybe get started on autoPatchilHook 23:21:54
@corngood:corngood.comCorngood I think at least godot_4-mono is missing from that list. I'm having a look at it now actually, but it may have to wait for upstream. 23:40:37
18 Dec 2024
@gggkiller:matrix.orgGGGok, took care of quite a few at https://github.com/NixOS/nixpkgs/pull/36606704:50:01
@jan.pluskal:matrix.orgJan Pluskal joined the room.07:13:38
@corngood:corngood.comCorngood
In reply to @gggkiller:matrix.org
ok, took care of quite a few at https://github.com/NixOS/nixpkgs/pull/366067
That's awesome. Thanks!
13:54:50
@6pak:matrix.org6pakI ran into https://github.com/NixOS/nixpkgs/issues/36349716:25:21
@6pak:matrix.org6paktried fixing it, and man do I hate xmlstarlet now16:25:26
@6pak:matrix.org6paklike what is this16:27:50
@6pak:matrix.org6pakimage.png
Download image.png
16:28:05
@6pak:matrix.org6pak also the dotnet nuget add source workaround is not exactly correct because it means nuget.org gets lower priority 17:02:21
@6pak:matrix.org6pakalso did anything come out of wanting to run fetch-deps in the sandbox?17:04:58
@6pak:matrix.org6pak
diff --git a/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh b/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh
--- a/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh	(revision c70d04efdede54181fa5901b796c84e7c87166f2)
+++ b/pkgs/development/compilers/dotnet/dotnet-sdk-setup-hook.sh	(date 1734541198688)
@@ -100,6 +100,18 @@
             -i /configuration/packageSources/__new -t attr -n value -v "$nugetSource"
             -r /configuration/packageSources/__new -v add)
 
+        if [[ -n ${keepNugetConfig-} ]] && ! xmlstarlet select -t -i "/configuration/packageSources/clear" -nl "$rootConfig"; then
+            @xmlstarlet@/bin/xmlstarlet ed --inplace \
+                -s /configuration -t elem -n "packageSources" \
+                -d "/configuration/packageSources[position() != 1]" \
+                -s "/configuration/packageSources" -t elem -n __unused \
+                -i "/configuration/packageSources/*[1]" -t elem -n add \
+                -i "/configuration/packageSources/*[1]" -t attr -n key -v "nuget" \
+                -i "/configuration/packageSources/*[1]" -t attr -n value -v "https://api.nuget.org/v3/index.json" \
+                -d "/configuration/packageSources/__unused" \
+                "$rootConfig"
+        fi
+
         if [[ -z ${keepNugetConfig-} ]]; then
             xmlConfigArgs+=(-d '//configuration/*')
             xmlRootConfigArgs+=("${xmlSourceConfigArgs[@]}")

seems to work fine

17:09:15

Show newer messages


Back to Room ListRoom Version: 9