| 21 Apr 2025 |
6pak |
Message deleted by NixOS Moderation Bot
wha
| 23:28:45 |
6pak | /tmp
❯ nix build p#dotnetCorePackages.sdk_9_0_1xx && ls -R ./result/share/dotnet/metadata/workloads/
9.0.100
./result/share/dotnet/metadata/workloads/9.0.100:
userlocal
/tmp
❯ nix build p#dotnetCorePackages.sdk_9_0_1xx-bin && ls -R ./result/share/dotnet/metadata/workloads/
"./result/share/dotnet/metadata/workloads/": No such file or directory (os error 2)
[ble: exit 2]
| 23:29:02 |
GGG | oh yeah, with the whole illegal image spam fiasco in the main NixOS room, image uploading got restricted | 23:29:10 |
GGG | 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 |
GGG | 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 |
GGG | 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 |
GGG | * 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 |
corruptcomputer | Just to be sure, is this the manual you mean?
https://nixos.org/manual/nixpkgs/stable/index.html | 23:34:21 |
6pak | nixos is unique, but that's what makes it the easiest distro to contribute to imo | 23:34:24 |
6pak | (and then just stare at your open prs not having any commiters reviewing it) | 23:34:40 |
GGG | yes | 23:34:45 |
GGG | it's quite long so I just jump around looking at the parts that I don't understand usually | 23:35:03 |