Nix + dotnet | 125 Members | |
| 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 21 Apr 2025 | ||
| oh | 23:25:12 | |
| the source built ones might have them sure | 23:25:16 | |
| I use the binary sdks | 23:25:20 | |
| oh, the binary ones don't? we should change the install script to fix that | 23:25:38 | |
| actually I don't see the userlocal file in source built sdks either? | 23:27:03 | |
| oh, only 1xx feature band is source built, right | 23:27:47 | |
| So out of curiosity, if I were wanting to try to contribute to NixOS, how would I do that? I've never contributed to a distro before, but NixOS to me seems like it might be a good place to start since everything is defined as code so I'm hoping it'll be a lot more familiar to me as a developer than other distros are | 23:28:10 | |
| Redacted or Malformed Event | 23:28:17 | |
| yeah, only it is built | 23:28:28 | |
| I've briefly looked into contributing to fedora before, but it seemed so over the top complicated that I just gave up before I even started | 23:28:35 | |
also, things might have changed. I'm not finding anything with nix-locate | 23:28:44 | |
wha | 23:28:45 | |
| 23:29:02 | |
| oh yeah, with the whole illegal image spam fiasco in the main NixOS room, image uploading got restricted | 23:29:10 | |
basically find what you want to change in the nixpkgs monorepo, make the changes you want, commit into a new branch, run nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" and then run the programs to see if they still work | 23:32:15 | |
| but .NET is more annoying than usual because if you change something in the SDKs, they'll cause every .NET program in nixpkgs to also be rebuilt, so you'll spend quite a few hours on the rebuild | 23:32:49 | |
| I recommend reading parts of the nixpkgs manual first, so you learn how things work in nix, since it's quite different from any other distro | 23:33:20 | |
* basically find what you want to change in the nixpkgs monorepo, make the changes you want, commit into a new branch, run nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" and then run the programs to see if they still work and make a PR back to the main repo | 23:33:50 | |
| Just to be sure, is this the manual you mean? https://nixos.org/manual/nixpkgs/stable/index.html | 23:34:21 | |
| nixos is unique, but that's what makes it the easiest distro to contribute to imo | 23:34:24 | |
| (and then just stare at your open prs not having any commiters reviewing it) | 23:34:40 | |
| yes | 23:34:45 | |
| it's quite long so I just jump around looking at the parts that I don't understand usually | 23:35:03 | |
| maybe not the best way, but it is the fastest way (and efficient enough for me) | 23:35:19 | |
| Alright, thanks! I'll take a read though what seem like the relevant parts of that, yeah that page is really long. I've read through quite a few man pages though, so it can't be as bad as some of those | 23:36:36 | |
taking 4 pages to say like ls -l will print out the files in a list format lol | 23:36:58 | |
this works as a workaround for installing workloads in home | 23:42:52 | |
| ideally build-dotnet.nix in nixpkgs should just add that file | 23:43:09 | |
| yeah, I might make a PR to do that | 23:43:22 | |
| yeah, seems like only the source-built variants have that:
| 23:44:09 | |