!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

114 Members
23 Servers

Load older messages


SenderMessageTime
4 Jun 2025
@purepani:matrix.orgpurepaniand the second I sent that I figured out the answer, being that dotnet 4.8 only works on windows19:51:30
@6pak:matrix.org6pak yup, mono might work though 19:52:31
5 Jun 2025
@vengmark2:matrix.org@vengmark2:matrix.org left the room.15:55:38
7 Jun 2025
@deeok:matrix.org@deeok:matrix.org changed their display name from deeok to matrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms).22:44:35
@deeok:matrix.org@deeok:matrix.org left the room.23:56:18
9 Jun 2025
@sigmasquadron:matrix.orgSigmaSquadron joined the room.13:05:24
@whovian9369:matrix.orgWhovian9369I ran into this again - Why do so many people have paths in their repo with spaces in it?! 😅 Guess I'm asking again, any tips?20:43:00
@corngood:corngood.comCorngood
In reply to @whovian9369:matrix.org
I ran into this again - Why do so many people have paths in their repo with spaces in it?! 😅
Guess I'm asking again, any tips?
Did you mean to link to something? I guess you're talking about nuget-to-json working in paths with spaces?
21:23:52
@whovian9369:matrix.orgWhovian9369Yeah, I'm talking about that21:24:06
@whovian9369:matrix.orgWhovian9369 (nuget2json and not nuget2nix, whoopsies) 21:24:17
@corngood:corngood.comCorngoodAh yeah, I meant to fix that... I'll take a look21:26:46
@whovian9369:matrix.orgWhovian9369Please and thank you!21:31:14
@corngood:corngood.comCorngood

Oh, I misunderstood the problem (https://matrix.to/#/!bxVOQwsVoHhZcmNDGw:nixos.org/$KnL6pWRuimEgc9GUYpdlLgzRZP5DsobZi0wRoClxHls?via=nixos.org&via=matrix.org&via=nixos.dev) It's not actually anything to do with nuget-to-json, it's just buildDotnetModule.

I think you might be able to set __structuredAttrs = true; and have projectFile be treated as an array, which will stop the string splitting.

21:40:09
@whovian9369:matrix.orgWhovian9369I'll try that, thank you!21:43:13
@whovian9369:matrix.orgWhovian9369
$ ./fetch-deps deps.json
fetching dependencies for gms-explorer-0.1.0
structuredAttrs is enabled
Running phase: unpackPhase
unpacking source archive /nix/store/rka883hb7paai0r3f9b8l8ixzkgpd0g6-source
source root is source
Running phase: patchPhase
Running phase: configureNuget
The template "NuGet Config" was created successfully.

Processing post-creation actions...



Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Executing dotnetConfigureHook
  Determining projects to restore...
  Nothing to do. None of the projects specified contain packages to restore.
  Determining projects to restore...
  Nothing to do. None of the projects specified contain packages to restore.
  Determining projects to restore...
  Nothing to do. None of the projects specified contain packages to restore.
  Determining projects to restore...
  Nothing to do. None of the projects specified contain packages to restore.
Finished dotnetConfigureHook
Succesfully wrote lockfile to /home/whovian/.flakes/gms-extract/deps.json

$  cat deps.json
[]

Well I think that it worked, but nothing was restored.

21:44:57
@whovian9369:matrix.orgWhovian9369I'm currently trying to get https://github.com/puggsoy/GMS-Explorer working, so it's my current guinea pig.21:45:26
@corngood:corngood.comCorngoodWhat did you set `projectFile` to?21:50:34
@whovian9369:matrix.orgWhovian9369 projectFile = "GMS Explorer/GMS Explorer.csproj"; 21:55:37
@whovian9369:matrix.orgWhovian9369 Same thing happens with projectFile = "GMS Explorer.sln"; 21:55:45
@corngood:corngood.comCorngoodThat's an old style project, so it probably doesn't use nuget dependencies. It might not build with the dotnet sdk22:57:42
@whovian9369:matrix.orgWhovian9369Oh that's interesting and a good catch, thanks. I'll have to experiment with it, I suppose.23:04:25
@whovian9369:matrix.orgWhovian9369 I'll also have to retry rune-factory-4-special-mbundle-extractor later too then 23:04:45
@whovian9369:matrix.orgWhovian9369

Had to comment out dotnetBuildFlags and dotnetInstallFlags, but yeah you're correct.

...

Build FAILED.

/nix/store/nahhdksqqhhna3cfirrqqhl29h6x8c71-dotnet-sdk-9.0.204/share/dotnet/sdk/9.0.204/Microsoft.Common.CurrentVersion.targets(1259,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/build/source/GMS Explorer/GMS Explorer.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.30
23:10:00
@whovian9369:matrix.orgWhovian9369So it looks like this is a Framework project and not a Core one, damn.23:10:12
@whovian9369:matrix.orgWhovian9369Thanks for the thoughts, Corngood! 23:11:49
24 Jun 2025
@wulpine:matrix.orgWulpey joined the room.17:51:36
26 Jun 2025
@mattsturg:matrix.orgMatt SturgeonAny ideas on https://github.com/NixOS/nixpkgs/issues/420121 ? Getting reports of a build failure, which shows up on hydra too, but I can't reproduce the issue even on the same commit as the hydra failure... Even stranger, I can't see any errors in the logs...21:08:17
@corngood:corngood.comCorngoodI had this happen to me locally today. It must be intermittent22:03:23
@corngood:corngood.comCorngood

Unfortunately I have no new info.

Is this normal?

> No test matches the given testcase filter `Category!=Disabled&FlakeyTest!=True&RequiresNetworking!=True&FullyQualifiedName!=NexusMods.DataModel.SchemaVersions.Tests.LegacyDatabaseSupportTests.TestDatabase&FullyQualifiedName!=NexusMods.DataModel.SchemaVersions.Tests.MigrationSpecificTests.TestsFor_0...` in /build/NexusMods.App/tests/NexusMods.Networking.GitHub.Tests/bin/Release/net9.0/NexusMods.Networking.GitHub.Tests.dll`
22:06:41
@corngood:corngood.comCorngood I'll run some rebuilds to try to get more info and see how common it is. Mine actually failed on nexusmods-app, not -unfree. 22:08:47

Show newer messages


Back to Room ListRoom Version: 9