| 18 Mar 2025 |
lzcunt | xmlstarlet is not happy because xmlns is missing | 18:47:42 |
6pak | personally I hate that thing | 18:48:07 |
6pak | bash is an awful choice for this task | 18:48:25 |
lzcunt | I agree but this is the reality of current nixpkgs/nixos, everything is basically bash script generators lol and I'm more interested in getting it to work and not rewriting it | 18:49:12 |
lzcunt | tho, rewriting it in python wouldn't be too hard hmm? | 18:49:42 |
lzcunt | but I trust my bash more than my python so I'm not the person to do that | 18:50:24 |
lzcunt | nope it's impossible to use -N "_=" to hackily define the xmlns because xmlstarlet gets mad at you when there's a proper xmlns defined in the file, and I can't define the proper ns there because there are multiple versions (and once again xmlstarlet gets mad when they don't match) | 19:03:10 |
lzcunt | I'll patch the nuspec file (manually for now) | 19:03:27 |
lzcunt | Heyy, what package provides msbuild? the msbuild package seems to be for 6.0 which is marked insecure | 19:49:43 |
6pak | the modern msbuild is part of dotnet sdk | 19:50:42 |
lzcunt | So I need to depend on dotnet sdk for mono packages too? oof | 19:51:10 |
6pak | if you can even build your project with modern msbuild | 19:51:32 |
6pak | mono had it's own msbuild clone called xbuild, before msbuild was open sourced | 19:51:57 |
lzcunt | yea I'm aware, the application I'm trying to manage depends on standalone msbuild | 19:52:21 |
lzcunt | but is a mono project | 19:52:37 |
lzcunt | * and is a mono project | 19:52:49 |
6pak | afaik mono also had a fork of the open sourced msbuild for a bit | 19:52:56 |
6pak | which is what nixpkgs packages as "msbuild" | 19:53:20 |
lzcunt | oof dotnet-sdks msbuild doesn't work (it wants .NETFramework,Version=v4.6.1) | 19:53:46 |
lzcunt | * oof dotnet-sdks msbuild doesn't work (it wants .NETFramework,Version=v4.6.1 but is 8.0) | 19:53:51 |
lzcunt | so xbuild doesn't work, msbuild is marked insecure, sdk's msbuild is not for mono projects seemingly) | 19:54:58 |
lzcunt | * so xbuild doesn't work, msbuild is marked insecure, sdk's msbuild is not for mono projects seemingly | 19:55:00 |
6pak | you might make it work by explicitly referencing Microsoft.NETFramework.ReferenceAssemblies? | 19:55:14 |
lzcunt | how would I do that? | 19:55:29 |
6pak | by however you install packages on packages.config projects | 19:59:51 |
6pak | wait so packages.config should work after all? | 20:00:34 |
6pak | https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#restoring-packagereference-and-packagesconfig-projects-with-msbuild | 20:00:45 |
lzcunt | this is nuget restore | 20:09:44 |
lzcunt | wait no | 20:09:54 |
6pak | no, it seems to be modern msbuild/nuget | 20:10:11 |