!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
24 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
21 Apr 2025
@6pak:matrix.org6pak

Message deleted by NixOS Moderation Bot

wha

23:28:45
@6pak:matrix.org6pak
/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
@gggkiller:matrix.orgGGGoh yeah, with the whole illegal image spam fiasco in the main NixOS room, image uploading got restricted23:29:10
@gggkiller:matrix.orgGGG 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
@gggkiller:matrix.orgGGGbut .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 rebuild23:32:49
@gggkiller:matrix.orgGGGI recommend reading parts of the nixpkgs manual first, so you learn how things work in nix, since it's quite different from any other distro23:33:20
@gggkiller:matrix.orgGGG * 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:matrix.orgcorruptcomputerJust to be sure, is this the manual you mean? https://nixos.org/manual/nixpkgs/stable/index.html23:34:21
@6pak:matrix.org6paknixos is unique, but that's what makes it the easiest distro to contribute to imo23:34:24
@6pak:matrix.org6pak(and then just stare at your open prs not having any commiters reviewing it)23:34:40
@gggkiller:matrix.orgGGGyes23:34:45
@gggkiller:matrix.orgGGGit's quite long so I just jump around looking at the parts that I don't understand usually23:35:03

Show newer messages


Back to Room ListRoom Version: 9