!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

120 Members
23 Servers

Load older messages


SenderMessageTime
17 Feb 2025
@corngood:corngood.comCorngoodWe have `roslyn-ls`, which uses the main Roslyn repo but builds only the language server.23:25:37
@dillonb:matrix.orgdgbYeah, they're separate csproj files in the upstream repo. I didn't realize building multiple projects in the same derivation was an option. I think that makes the most sense. Thanks for the advice23:38:51
18 Feb 2025
@dillonb:matrix.orgdgbhttps://github.com/NixOS/nixpkgs/pull/382993 alright, well there it is01:51:52
24 Feb 2025
@phanirithvij:matrix.orgloudgolem joined the room.07:39:16
1 Mar 2025
@achnazoor:matrix.org@achnazoor:matrix.org left the room.12:44:17
3 Mar 2025
@thebus:matrix.orgJaco joined the room.13:21:53
5 Mar 2025
@sananatheskenana:matrix.orglzcunt joined the room.21:17:37
@sananatheskenana:matrix.orglzcunt Heyy, packaging a dotnet app. It seems to run nuget restore instead of dotnet restore in its makefile, and seemingly fetch-deps doesn't do that 21:18:09
@sananatheskenana:matrix.orglzcuntI have no idea why those two commands are any different, I am not really a dotnet person. Testing manually, it seems dotnet restore fails to find anything to restore at all. What should I do?21:18:19
@6pak:matrix.org6pak nuget would likely call the legacy mono/netfx nuget client 21:20:34
@6pak:matrix.org6pakwhile nixpkgs only really supports the modern dotnet sdk21:20:43
@sananatheskenana:matrix.orglzcuntAh, is there a way to get the solution to restore with dotnet instead?21:21:14
@6pak:matrix.org6pakwhat app is it?21:21:24
@sananatheskenana:matrix.orglzcuntOpenBVE21:21:28
@sananatheskenana:matrix.orglzcunttrain simulator :321:21:35
@6pak:matrix.org6pak"makefile" sounds like it does some custom build logic21:21:44
@sananatheskenana:matrix.orglzcuntit barely does any logic21:21:52
@sananatheskenana:matrix.orglzcuntit's checking for dependencies then just calling nuget and msbuild21:22:06
@6pak:matrix.org6pak it uses the legacy project format and packages.config, but it should still work with modern dotnet sdk 21:22:43
@6pak:matrix.org6pak just try doing dotnet restore/dotnet build 21:22:53
@sananatheskenana:matrix.orglzcuntthey say to build with mono but idk the difference between dotnet core and mono21:23:08
@sananatheskenana:matrix.orglzcunt

Determining projects to restore...
Nothing to do. None of the projects specified contain packages to restore.

21:23:44
@6pak:matrix.org6pakmono has been abandoned for years21:23:48
@sananatheskenana:matrix.orglzcunt *

Determining projects to restore...
Nothing to do. None of the projects specified contain packages to restore.

21:23:53
@6pak:matrix.org6pakever since dotnet was open sourced21:23:55
@sananatheskenana:matrix.orglzcuntthis is with dotnet restore21:24:08
@6pak:matrix.org6pak* mono has been (effectively) abandoned for years21:24:13
@6pak:matrix.org6pakactually no, project.json is still somewhat supported by dotnet restore, but packages.config never was21:25:56
@sananatheskenana:matrix.orglzcuntI wonder how complicated it would be to patch them to use dotnet core instead of mono with 0 dotnet knowledge21:26:06
@6pak:matrix.org6pakso you'd have to either convert the project to modern format (which should be somewhat easy if you know c#) or build using mono in nixpkgs21:26:33

Show newer messages


Back to Room ListRoom Version: 9