Nix + dotnet | 125 Members | |
| 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Aug 2023 | ||
| ie those package are implicitly included with every does, and thanks to that we don’t have to regenerate all the deps.nix in the nixpkgs tree | 11:53:43 | |
| if you want to take a stab at implementing workloads then PRs are welcome :) I unfortunately didn’t have the time to take a look at that issue | 11:54:13 | |
both eg. Microsoft.AspNetCore.App.Ref and Microsoft.NETCore.App.Runtime.Mono.browser-wasm appear to be in in that same /usr/share/dotnet/packs directory | 11:54:34 | |
| * ie those package are implicitly included with every deps, and thanks to that we don’t have to regenerate all the deps.nix in the nixpkgs tree | 11:54:41 | |
In reply to @magikarpz:matrix.orgi'd try but i have close to no experience with nix as a language, so i'd have no idea about actually implementing anything | 11:55:45 | |
i'd be willing to test manually add all the workload packages into packages in 7.0.nix but i'd need to figure out how i'd even calculate all the sha256's | 11:57:58 | |
| you can start by looking into dotnet’s update.sh script to see how they are generated | 11:58:35 | |
| but for workloads, I believe a better starting point will be the nix-maui rep referenced in the issue I linked | 11:59:02 | |
| well there the issue starts that i have no clue what i'm doing when it comes to nix | 11:59:34 | |
| yeah, this unfortunately doesn’t seem like an easy issue for beginners :/ | 12:00:03 | |
hence why i proposed to test if adding all workloads' packages into the packages array would work in a local nixpkgs checkout | 12:00:41 | |
| though, it looks like i could just add the package names in update.sh and the script would take care of the hashes? | 12:01:24 | |
| you can check it, sure, I’m not sure if it will work or not | 12:01:25 | |
| yep, that’s how the lost in the nix files is generated | 12:01:40 | |
| * yep, that’s how the list in the nix files is generated | 12:01:47 | |
| i wish i had the bandwidth to just clone the repo in full without --depth=1 | 12:03:30 | |
| oh well | 12:03:35 | |
| the nix maui flake does seem to have all of the workloads written down in nix | 12:12:52 | |
| oh, you can just use nix-prefetch-url to get the hash, neat | 12:17:05 | |
| 23 Aug 2023 | ||
| 05:58:09 | ||
| 5 Sep 2023 | ||
| 13:50:12 | ||
| can somebody with merge access take a look at this? https://github.com/NixOS/nixpkgs/pull/248208 | 16:57:27 | |
| 21 Sep 2023 | ||
| 23:06:38 | ||
| 26 Sep 2023 | ||
| 00:10:57 | ||
| 28 Sep 2023 | ||
| 13:21:25 | ||
| I've been trying to package a dotnet 6 application and having issues with the I'm fairly new to nix and very unfamiliar with dotnet development (I was not involved in the actual development of this application), so I would appreciate some pointers as I'm out of ideas | 13:39:32 | |
| are you able to share the source code to this app? and the nix code? | 14:07:11 | |
In reply to @magikarpz:matrix.org Here's the source code of the application: https://github.com/Assistant/Hive
| 14:18:46 | |
| why did you add dotnet-sdk to inputs? it should be already handled by buildDotnetModule | 14:26:08 | |
| I don't have a good answer other than seeing it somewhere and trying things to see what would work, let me give it a try without it | 14:28:38 | |