!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
24 Servers

Load older messages


SenderMessageTime
18 Jan 2025
@genga898:matrix.orgEmmanuel Genga
In reply to @corngood:corngood.com
Do you mean that the shell.nix no longer works with latest nixpkgs?
Mostly think he's facing the same issue I did where it is very difficult to install workloads when using a shell.nix for dotnet, I struggled with it for a while and gave up, just decided to use devbox for my dotnet project that need workloads
08:44:34
@wiiplayer2:matrix.orgWaldemar TommeYes(-ish). I'm using the latest(-ish) nixpkgs (~a week old) and there the dotnet packages are wrapped so even if I would correct the paths in the script it wouldn't work because I would not manipulate the correct derivation.09:48:52
@wiiplayer2:matrix.orgWaldemar Tomme When overriding and using just dotnetCorePackages.dotnet_8.sdk it works now I think (https://github.com/NixOS/nixpkgs/issues/226107#issuecomment-2598552335) 10:43:05
@wiiplayer2:matrix.orgWaldemar TommeSadly it still doesn't work. When I try to publish the android app I get an error that "Microsoft.NET.Runtime.MonoAOTCompiler.Task" can't be found in the "Sdks" folder in the dotnet sdk.11:48:12
@corngood:corngood.comCorngoodCan we track down where in nixpkgs it used to work?12:08:23
@wiiplayer2:matrix.orgWaldemar Tomme I got further by checking out maui-on-nix with its locked revisions but now it can't execute arm-linux-androideabi-as as a required file is missing. I also don't have the mental capacity right now to look further into it. maybe later and/or tomorrow 14:22:09
@corngood:corngood.comCorngoodGood to know. I'll try to find some time to bisect the workload problem.14:23:40
19 Jan 2025
@wiiplayer2:matrix.orgWaldemar Tomme changed their display name from Waldemar Tomme to Waldemar Tomme (they/them).08:17:01
21 Jan 2025
@emma:rory.gayEmma [it/its]cursed & probably offtopic: how would i get a custom build of dotnet going?15:55:46
@emma:rory.gayEmma [it/its]tl;dr linux-x8615:56:12
@emma:rory.gayEmma [it/its]* tl;dr linux-x86/i68615:56:21
@corngood:corngood.comCorngood dotnetCorePackages.dotnet_8.stage0.vmr is probably where you want to start 16:22:03
@corngood:corngood.comCorngoodunless you want to go back to an old version, you'll have to somehow bootstrap it from another system. I'm not sure how broken the build will be on i68616:23:16
23 Jan 2025
@gggkiller:matrix.orgGGG 6pak how did you manage to get dnSpy working on Wine on that PR? I'm trying to package a .NET Framework app using wine and it opens complaining about missing Wine Mono and then if I tell it to install it, it just fails to launch the app 16:44:33
@kamillaova:matrix.orgKamilla 'ova joined the room.18:04:44
@6pak:matrix.org6pakdnspy is .net core now, so no wine-mono needed20:32:42
@6pak:matrix.org6pak

it just fails to launch the app

any errors?

20:32:59
@gggkiller:matrix.orgGGGI managed to get further20:33:11
@gggkiller:matrix.orgGGGbut in the end I had to disable d3d9 for it to fully work20:33:19
@gggkiller:matrix.orgGGG I was trying to get PerfView.exe working on wine 20:33:27
@gggkiller:matrix.orgGGGthis is what I got in the end: https://github.com/GGG-KILLER/nixos-configs/blob/96b61c8cb703546410a1cabc65fe8729d0310c0d/packages/perfview.nix20:34:15
@gggkiller:matrix.orgGGG I tried a bunch of mkWineApp, mkWindowsApp and etc wrappers, but yours was the only one that didn't spit out a bunch of garbage 20:34:39
@6pak:matrix.org6paktbf my wrapper script was based on something from nixpkgs20:38:59
@6pak:matrix.org6pak you've got DNSPY_HOME there 20:39:10
@6pak:matrix.org6pakand this sounds painful20:39:27
@6pak:matrix.org6pakimage.png
Download image.png
20:39:29
@6pak:matrix.org6pakinstalling net framework with wine takes forever20:39:47
@gggkiller:matrix.orgGGG.NET Framework 4.8 goes quite fast20:40:35
@6pak:matrix.org6pakdoes it not need to install all the earlier versions anymore?20:40:54
@gggkiller:matrix.orgGGGThe .NET Framework 4.7.2 one is really slow because it installs 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 and 4.7.220:41:07

Show newer messages


Back to Room ListRoom Version: 9