!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
24 Servers

Load older messages


SenderMessageTime
18 Oct 2023
@emma:conduit.rory.gayEmma [it/its] ⚡️ 03:50:13
@emma:conduit.rory.gayEmma [it/its] ⚡️ changed their display name from Emma [it/its] global profile test 2 ⚡️ to Emma [it/its] ⚡️.04:04:01
25 Oct 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.00:13:23
27 Oct 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.01:24:54
1 Nov 2023
@emma:conduit.rory.gayEmma [it/its] ⚡️i wonder if anyone knows how one would go about installing workloads15:52:52
@emma:conduit.rory.gayEmma [it/its] ⚡️ i'd be fine with throwing dotnet workload install into a derivation, i'd just need to figure out how to make a "NuGet package source" 15:53:55
@emma:conduit.rory.gayEmma [it/its] ⚡️i wonder if i could write something that spits out an entire tree of derivations16:07:24
@emma:conduit.rory.gayEmma [it/its] ⚡️
Unhandled exception: System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/home/Rory/git/DotnetManifestsToNix/DotnetManifestsToNix/bin/Debug/net7.0/DotnetManifestsToNix' with working directory '/home/Rory/git/DotnetManifestsToNix/DotnetManifestsToNix'. No such file or directory

i wonder what causes this when using dotnet run

16:54:39
2 Nov 2023
@emma:conduit.rory.gayEmma [it/its] ⚡️apparently related to broken dotnet 7, fun03:50:14
@emma:conduit.rory.gayEmma [it/its] ⚡️
Converting workload microsoft.net.workload.mono.toolchain version 6.0.5
Workload wasm-tools description .NET WebAssembly build tools
Workload wasm-tools pack Microsoft.NET.Runtime.WebAssembly.Sdk
Workload wasm-tools pack Microsoft.NETCore.App.Runtime.Mono.browser-wasm
Workload wasm-tools pack Microsoft.NETCore.App.Runtime.AOT.Cross.browser-wasm
Workload wasm-tools extend microsoft-net-runtime-mono-tooling
Workload wasm-tools extend microsoft-net-sdk-emscripten
Workload wasm-tools platform win-x64
Workload wasm-tools platform linux-x64
Workload wasm-tools platform osx-x64
Workload wasm-tools platform osx-arm64
Workload microsoft-net-runtime-android description Android Mono Runtime

03:59:37
@emma:conduit.rory.gayEmma [it/its] ⚡️ should i be skipping any workloads that dont declare linux as a platform? 04:00:06
@emma:conduit.rory.gayEmma [it/its] ⚡️Download test.log04:38:45
@emma:conduit.rory.gayEmma [it/its] ⚡️progress so far :)04:38:49
@emma:conduit.rory.gayEmma [it/its] ⚡️(.net 6 workloads)04:38:56
@emma:conduit.rory.gayEmma [it/its] ⚡️
{ fetchNuGet }: [
# Direct dependencies
    (fetchNuGet { pname = "Microsoft.NET.Runtime.WebAssembly.Sdk"; version = "6.0.5"; sha256 = "invalidinvalidinvalid"; })
    (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.Mono.browser-wasm"; version = "6.0.5"; sha256 = "invalidinvalidinvalid"; })
    (fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.AOT.Cross.browser-wasm"; version = "6.0.5"; sha256 = "invalidinvalidinvalid"; })
    # Transitive dependencies via microsoft-net-runtime-mono-tooling
        (fetchNuGet { pname = "Microsoft.NET.Runtime.MonoAOTCompiler.Task"; version = "6.0.5"; sha256 = "invalidinvalidinvalid"; })
        (fetchNuGet { pname = "Microsoft.NET.Runtime.MonoTargets.Sdk"; version = "6.0.5"; sha256 = "invalidinvalidinvalid"; })
    # Transitive dependencies via microsoft-net-sdk-emscripten
        # Workload not defined in this file!
]

wasm-tools progress

05:27:45
@emma:conduit.rory.gayEmma [it/its] ⚡️ some bugs to fix still, BUT!!! i was able to generate nix files for every workload for .net 6, 7 and 8 06:47:24
@emma:conduit.rory.gayEmma [it/its] ⚡️(same way nuget2nix does its deps.nix files06:48:13
@emma:conduit.rory.gayEmma [it/its] ⚡️* (same way nuget2nix does its deps.nix files)06:48:16
@emma:conduit.rory.gayEmma [it/its] ⚡️now what's left is: 1) fixing some minor bugs in dependency resolution, 2) actually calculate the sha256's06:49:01
3 Nov 2023
@emma:conduit.rory.gayEmma [it/its] ⚡️Download maui.nix04:40:53
@emma:conduit.rory.gayEmma [it/its] ⚡️this looks like a good start for the maui workload?04:41:01
@emma:conduit.rory.gayEmma [it/its] ⚡️ @magikarpz:matrix.org maybe you could look at this and tell me if im on the right track here? 04:46:13
@emma:conduit.rory.gayEmma [it/its] ⚡️Download out.tar04:47:53
@emma:conduit.rory.gayEmma [it/its] ⚡️(its a tar.gz i think)04:49:15
7 Nov 2023
@magikarpz:matrix.orgmdarocha Emma [it/its] ⚡️: looks good. do you have any scripts that generate those files? 14:57:34
@magikarpz:matrix.orgmdarochayou could probably throw this up into a draft PR into nixpkgs14:57:44
@magikarpz:matrix.orgmdarochauntil then, we could probably implement https://github.com/dotnet/installer/issues/12104 to make workload installations work on nixos14:58:17
14 Nov 2023
@emma:conduit.rory.gayEmma [it/its] ⚡️
In reply to @magikarpz:matrix.org
Emma [it/its] ⚡️: looks good. do you have any scripts that generate those files?
yeah its generated by a quick and dirty program written in C#
17:08:44
@emma:conduit.rory.gayEmma [it/its] ⚡️sorry for the 7 day delay on responding, homeserver doesnt like marking rooms as unread 😅17:09:00
@magikarpz:matrix.orgmdarochacool, no problem21:03:34

Show newer messages


Back to Room ListRoom Version: 9