!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

128 Members
23 Servers

Load older messages


SenderMessageTime
14 Dec 2024
@gggkiller:matrix.orgGGGthe actual class hasn't, but it won't let you compile and all of its members throw now02:27:15
@gggkiller:matrix.orgGGG * the actual class hasn't, but it won't let you compile new code using it and all of its members throw now02:27:22
@gggkiller:matrix.orgGGGI was thinking we could use this roll forward feature to help with .NET EOL, but the EOL includes the packages, so it's a no-go02:28:40
@6pak:matrix.org6pakwhich packages?02:29:16
@gggkiller:matrix.orgGGG all of the runtime ones, System.Text.Json, System.IO, etc. 02:31:18
@6pak:matrix.org6pakwym by help with .NET EOL02:31:50
@gggkiller:matrix.orgGGGthere's currently a huge effort to upgrade every package that uses .NET 6 or 7 to a maintained version02:32:21
@gggkiller:matrix.orgGGGif we could just roll them forward then it would avoid possible security issues from them being EOL02:32:35
@gggkiller:matrix.orgGGGbut then there's the runtime packages as well that wouldn't be rolled forward02:32:46
@6pak:matrix.org6pakcorlib would be taken from the latest runtime02:33:18
@gggkiller:matrix.orgGGG like all of these: https://github.com/NixOS/nixpkgs/blob/9a5c9fb07412bf180b6c91d12b4bfaa06596f92c/pkgs/development/compilers/dotnet/versions/6.0.nix#L11-L572 02:33:21
@6pak:matrix.org6pakSTJ if referenced out of band you should update anyway02:33:28
@6pak:matrix.org6pakbecause that gets CVEs often02:33:34
@gggkiller:matrix.orgGGGyeah02:33:37
@6pak:matrix.org6pakand if you dont update sdk then you wont be able to build anyway02:33:46
@gggkiller:matrix.orgGGGbut if you reference the SDK one, it'd be stuck on that, wouldn't it?02:33:49
@6pak:matrix.org6pakit should be trivial to bump the sdk anyway02:33:53
@6pak:matrix.org6pak you can update STJ by just referencing a newer version 02:34:14
@gggkiller:matrix.orgGGG or so you'd think, there are apparently a few packages where upstream hasn't upgraded yet 02:34:17
@gggkiller:matrix.orgGGG yeah, but that'd become a patch we'd have to maintain 02:34:25
@gggkiller:matrix.orgGGGa simple patch, but a patch nonetheless02:34:34
@6pak:matrix.org6pakit's effectively the same thing as using a newer gcc version than the upstream maintainer uses02:36:14
@6pak:matrix.org6pakwhich happens all the time?02:36:17
@gggkiller:matrix.orgGGGI guess so02:38:11
@hbakardzhiev:matrix.orgHristo Bakardzhiev left the room.13:08:17
17 Dec 2024
@genga898:matrix.orgEmmanuel GengaI'm trying to package a dotnet app for local testing but it tells me that permission is denied, what could be the issue?16:30:18
@gggkiller:matrix.orgGGGWhat's the full error message16:32:32
@genga898:matrix.orgEmmanuel Genga
18:04:55
@genga898:matrix.orgEmmanuel Genga *
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Executing dotnetConfigureHook
  Determining projects to restore...
/nix/store/wlknwwx8f79lq8n07b0xh7ddjrrk191h-dotnet-sdk-8.0.404/share/dotnet/sdk/8.0
.404/NuGet.targets(174,5): error : Access to the path '/nix/store/h3k2d6d3rmligh682
d1n1mbdkv9n4fqr-source/YuckLS/obj' is denied. [/nix/store/h3k2d6d3rmligh682d1n1mbdk
v9n4fqr-source/YuckLS/YuckLS.csproj]

/nix/store/wlknwwx8f79lq8n07b0xh7ddjrrk191h-dotnet-sdk-8.0.404/share/dotnet/sdk/8.0
.404/NuGet.targets(174,5): error : Permission denied [/nix/store/h3k2d6d3rmligh68
2d1n1mbdkv9n4fqr-source/YuckLS/YuckLS.csproj]

18:05:14
@genga898:matrix.orgEmmanuel Genga *
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Executing dotnetConfigureHook
  Determining projects to restore...
/nix/store/wlknwwx8f79lq8n07b0xh7ddjrrk191h-dotnet-sdk-8.0.404/share/dotnet/sdk/8.0
.404/NuGet.targets(174,5): error : Access to the path '/nix/store/h3k2d6d3rmligh682
d1n1mbdkv9n4fqr-source/YuckLS/obj' is denied. [/nix/store/h3k2d6d3rmligh682d1n1mbdk
v9n4fqr-source/YuckLS/YuckLS.csproj]


/nix/store/wlknwwx8f79lq8n07b0xh7ddjrrk191h-dotnet-sdk-8.0.404/share/dotnet/sdk/8.0
.404/NuGet.targets(174,5): error :   Permission denied \[/nix/store/h3k2d6d3rmligh68
2d1n1mbdkv9n4fqr-source/YuckLS/YuckLS.csproj\]
18:05:33

Show newer messages


Back to Room ListRoom Version: 9