!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

109 Members
22 Servers

Load older messages


SenderMessageTime
7 Dec 2025
@docbrown101:matrix.orgDaniel Has anything changed in direnv with version 25.11? When I run dotnet run, I get the well-known error: Could not start dynamically linked executable... 13:25:49
8 Dec 2025
@tpw_rules:matrix.orgtpw_rules joined the room.20:35:45
@danielheman:matrix.orgdanielheman joined the room.20:36:03
@tpw_rules:matrix.orgtpw_ruleshi, i'm trying to package a program (https://github.com/ArduPilot/MissionPlanner) and i'm unsure of the dizzying versions of dotnet and if this is what i want20:37:19
@tpw_rules:matrix.orgtpw_rules i currently run the windows-built executables with mono under linux. but i need to build it myself on linux to fix some stuff. the .csproj says <TargetFramework>net472</TargetFramework> . is there some sort of buildmonopackage i need instead? 20:38:41
@k900:0upti.meK900You can't probably20:39:56
@k900:0upti.meK900If it's 4.7.2 I don't think there's a builder that's usable20:40:09
@tpw_rules:matrix.orgtpw_rulesis it possible even theoretically?20:41:14
@tpw_rules:matrix.orgtpw_ruleslike does mono have the compiler?20:42:53
@tpw_rules:matrix.orgtpw_ruleswas there something in an old nixpkgs?20:43:39
@k900:0upti.meK900Uhh I'm not sure how much of a compiler mono has for dotnet that old20:48:15
@k900:0upti.meK900You might want to just try building it with Core20:48:20
@k900:0upti.meK900If it doesn't use Windows.Forms it should be fine20:48:27
@tpw_rules:matrix.orgtpw_rulesi'm following the path in the manual and it hasn't exploded yet20:48:42
@tpw_rules:matrix.orgtpw_rulesi figured out mono is a submodule of the project which is a bit scary20:49:12
@tpw_rules:matrix.orgtpw_rulesokay it exploded, the "type or namespace name could not be found"20:52:17
@tpw_rules:matrix.orgtpw_rulesthere look to be some strange stanzas that suggest that should be pre-compiled. i will try to rip it out and see what happens. don't think i need to narrate the whole journey20:55:53
@tpw_rules:matrix.orgtpw_rulesso i've got it compiling but it crashes at runtime with some complaint about frobbing a property it doesn't like in Windows.Forms. is that cause i'm compiling against an ersatz mono version?22:07:04
@tpw_rules:matrix.orgtpw_ruleswell i patched the error out of my mono and it's working well enough now.22:34:37
@tpw_rules:matrix.orgtpw_rulesstill unclear why the official build works!22:34:52
10 Dec 2025
@dillonb:matrix.orgdgbHey, I updated a dotnet package and I'm seeing something really weird, I'm having to manually set DOTNET_ROOT in the preCheck phase, the tests don't run without it. https://github.com/NixOS/nixpkgs/pull/469509#discussion_r2605320864 Does anyone know why this might be happening?06:07:01
@dillonb:matrix.orgdgbit feels like something I shouldn't have to do, I don't see any other dotnet packages doing it.06:07:34
@xsrp:matrix.org@xsrp:matrix.org removed their profile picture.06:23:47
@xsrp:matrix.org@xsrp:matrix.org removed their display name srp.06:23:57
@xsrp:matrix.org@xsrp:matrix.org left the room.06:24:03
@corngood:corngood.comCorngoodWhat error do you get?12:59:00
@dillonb:matrix.orgdgbit can't find the dotnet runtime: https://files.dgb.sh/public/bicep_tests_failure.log I edited dotnet-hook.sh and confirmed that DOTNET_ROOT is empty when the tests run if I don't manually set it here, so it's not completely unsurprising?21:13:31
@dillonb:matrix.orgdgbhere: https://github.com/NixOS/nixpkgs/blob/59e6d1e9ac49051644a8a3802c1531e17932c675/pkgs/build-support/dotnet/build-dotnet-module/hook/dotnet-hook.sh#L20821:14:15
@dillonb:matrix.orgdgbbut, before my update, DOTNET_ROOT is still empty and yet it can find the runtime22:06:32
@dillonb:matrix.orgdgbI am very confused :)22:06:41

There are no newer messages yet.


Back to Room ListRoom Version: 9