!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

121 Members
24 Servers

Load older messages


SenderMessageTime
19 Mar 2025
@k900:0upti.meK900staging-next12:20:57
@sananatheskenana:matrix.orglzcuntThat errors due to it needing .NETFramework,Version=v4.6.1 or whatever and I don't know how to fix that (not a .NET person sadly12:35:06
20 Mar 2025
@rosssmyth:matrix.org@rosssmyth:matrix.org Framework is the runtime that only works on Windows or Wine. Depending on the project you can try using upgrade-assistant 01:11:08
@gggkiller:matrix.orgGGGYeah, .NET Framework projects will not run natively on Linux, you'll need to run it inside wine or with mono, but considering mono has been abandoned by Microsoft and Wine team is maintaining it now, you might need wine anyways02:33:05
@gggkiller:matrix.orgGGGI did not instantly make the connection between packages.config and .NET Framework but I should have02:33:48
@rosssmyth:matrix.org@rosssmyth:matrix.orgI did not know that Mono was abandon by MS. Sort of weird since Blazor/ASP.NET uses it for wasm02:38:50
@gggkiller:matrix.orgGGGThey moved the part of the codebase they were interested in into the .NET codebase02:50:14
@gggkiller:matrix.orgGGGAnd now you can't really use it like you did with the original mono, it's only available on iOS and macOS without NativeAOT, and wasm without NativeAOT 02:51:00
@gggkiller:matrix.orgGGG> We are happy to announce that the WineHQ organization will be taking over as the stewards of the Mono Project upstream at wine-mono / Mono ยท GitLab (winehq.org). https://www.mono-project.com/02:51:47
@gggkiller:matrix.orgGGGAlthough it seems like it still works as the old mono did, I don't know how long they'll maintain that for honestly, given that they only need it for Wine03:02:17
@xsrp:matrix.org@xsrp:matrix.org joined the room.03:16:48
@xsrp:matrix.org@xsrp:matrix.org changed their display name from Seraphim Pardee to srp.03:19:07
@sananatheskenana:matrix.orglzcuntI've tried that before and it broke the build system severely so I can't do that08:48:15
@sananatheskenana:matrix.orglzcuntupstream supports mono but I tried it and I couldn't get that to work either08:48:47
@sananatheskenana:matrix.orglzcuntI think I'm gonna give up packaging OpenBVE for nixpkgs, I think they have a flatpak or something08:49:11
23 Mar 2025
@whovian9369:matrix.orgWhovian9369 Hey gang, me again to cause more chaos. Do any of you have experience building a project that uses Nuke.Common for building part of the program? Something I use a lot, https://github.com/Thealexbarney/LibHac , uses it for some CodeGen that needs to be done for proper use of the program hactoolnet.
I do have a derivation that pulls the official binary and patches that if I need to use it instead, but it would be nice to make sure that I have a properly working build that I can do if I need to.
15:00:35
@whovian9369:matrix.orgWhovian9369I do also have an existing derivation that skips using Nuke, but it seems to be quietly "broken" in a few ways since the programs expecting you to have done codegen initially.15:02:29
@whovian9369:matrix.orgWhovian9369(You can see that at https://github.com/Whovian9369/whovian_nixos_config/blob/main/home/packages/hactoolnet/package.nix )15:02:49
@whovian9369:matrix.orgWhovian9369Oh I just noticed that Avalonia seems to deal with this already - https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/av/avalonia/package.nix#L151-L159 Is this the suggested way to deal with that, then?15:07:59
24 Mar 2025
@corngood:corngood.comCorngood Whovian9369: Avalonia doesn't use buildDotnetModule. It just uses the dotnet-sdk hooks and addNuGetDeps directly. You could certainly try to do something similar. 12:39:33
@whovian9369:matrix.orgWhovian9369That sounds like my next best attempt. Thanks!14:04:14
@corngood:corngood.comCorngood

Avalonia was a bit of a proof of concept for avoiding buildDotnetModule. addNuGetDeps is not well documented yet, so let me know if you have any trouble.

overrideFetchAttrs is there to allow fetch-deps to handle multiple target platforms (e.g. linux/darwin-x86/arm).

configurePhase should ideally do everything needed to get the nuget dependencies

buildPhase can call build.sh

linkNugetPackages and makeEmptyNupkgInPackages are hacks for things that don't handle NUGET_FALLBACK_PACKAGES properly or make other bad assumptions

14:13:04
@corngood:corngood.comCorngood *

Avalonia was a bit of a proof of concept for avoiding buildDotnetModule. addNuGetDeps is not well documented yet, so let me know if you have any trouble.

overrideFetchAttrs is there to allow fetch-deps to handle multiple target platforms (e.g. linux/darwin-x86/arm).

configurePhase should ideally do everything needed to get the nuget dependencies

buildPhase can call build.sh

linkNugetPackages and makeEmptyNupkgInPackages are hacks for things that don't handle NUGET_FALLBACK_PACKAGES properly or make other bad assumptions (use them only if necessary)

14:13:38
1 Apr 2025
@sandro:supersandro.deSandro ๐Ÿง changed their display name from Sandro ๐Ÿง to Sandro ๐Ÿง [c3d2].13:56:06
@sandro:supersandro.deSandro ๐Ÿง changed their display name from Sandro ๐Ÿง [c3d2] to "Sandro [c3d2]".13:56:50
@sandro:supersandro.deSandro ๐Ÿง changed their display name from "Sandro [c3d2]" to Sandro ๐Ÿง [c3d2].13:57:23
@sandro:supersandro.deSandro ๐Ÿง changed their display name from Sandro ๐Ÿง [c3d2] to Sandro ๐Ÿง.13:58:37
3 Apr 2025
@c00l_game_dev:matrix.orgc00l_game_dev joined the room.19:48:31
7 Apr 2025
@genga898:matrix.orgEmmanuel Genga set a profile picture.18:11:00
10 Apr 2025
@anselmetombarel:matrix.organselmetombarel joined the room.14:47:27

Show newer messages


Back to Room ListRoom Version: 9