!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

120 Members
23 Servers

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


SenderMessageTime
13 Aug 2025
@6pak:matrix.org6pakI mean not setting it to true18:22:16
@whovian9369:matrix.orgWhovian9369 Sorry, I'm afraid I'm missing the question then. You're asking why I'm setting selfContainedBuild = false; in the first place? 18:22:51
@6pak:matrix.org6pakyeah18:23:13
@whovian9369:matrix.orgWhovian9369 I mean, as I said I think it's just personal opinion. I don't remember why I started doing it other than "Nix seems to automatically set this to false", but it might just be that I've seen it in Nixpkgs one time and preferred how it was laid out versus the output of selfContainedBuild = true; on "normal" (non-AoT) builds that I've done. 18:26:12
@whovian9369:matrix.orgWhovian9369 It seems that Nix defaults to selfContainedBuild = false; anyway, but I like having the feeling of extra control or knowledge that for me comes from having that option immediately exposed (especially for testing like this, where having it as false seems to show errors due to AoT wanting PublishTrimmed set to true, which is disabled by default by a hook as you pointed out). 18:36:21
14 Aug 2025
@oatmealraisin:matrix.orgoatmealraisin I have a project with a long tree of projectReferences, and I've got (most) building. I'm changing them to packNupkg=true, but I'm running into a common error between some of them: error NU5026: The file '/build/flake-build/src/Shared/bin/Release/net8.0/Shared.dll' to be packed was not found on disk. [/build/flake-build/src/Shared/Shared.csproj] 19:01:03

Show newer messages


Back to Room ListRoom Version: 9