!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

122 Members
24 Servers

Load older messages


SenderMessageTime
17 Dec 2024
@whovian9369:matrix.orgWhovian9369 (Also I have dotnetBuildFlags and dotnetInstallFlags set separately since I remember having issues via dotnetFlags -- Something relating to the restore phase, if memory serves? I'll have to try that again later.) 21:57:50
@6pak:matrix.org6pakimage.png
Download image.png
21:58:11
@6pak:matrix.org6pakbut for the actual build, it only does sometimes...21:58:39
@6pak:matrix.org6pakimage.png
Download image.png
21:58:42
@6pak:matrix.org6pakfor some reason21:58:43
@6pak:matrix.org6pak tbh I hate everything about buildDotnetModule 21:58:58
@6pak:matrix.org6pakit's just so wrong21:59:01
@gggkiller:matrix.orgGGGOh yeah, I wonder if we should fill `RuntimeIdentifiers` based on the supported platforms in meta21:59:27
@6pak:matrix.org6pakno21:59:35
@6pak:matrix.org6pakyou should fill it out based on hostPlatform21:59:43
@6pak:matrix.org6pak * you should fill it out based on hostSystem21:59:46
@gggkiller:matrix.orgGGGThat might solve a few issues21:59:48
@gggkiller:matrix.orgGGGWould have to evaluate the impact of doing that widespread though22:00:02
@6pak:matrix.org6pak this is where the fact I had the convo with Corngood in dms backfires... 22:00:14
@gggkiller:matrix.orgGGG
In reply to @6pak:matrix.org
you should fill it out based on hostSystem
No, the RuntimeIdentifiers should have all supported platforms, no?
22:00:45
@6pak:matrix.org6pakit should have everything you currently want to build22:01:06
@6pak:matrix.org6pakand in the nixpkgs model, you can only build one at a time22:01:11
@gggkiller:matrix.orgGGGThen the `--runtime` flag tells which one were building for22:01:12
@gggkiller:matrix.orgGGG
In reply to @6pak:matrix.org
it should have everything you currently want to build
But if we only set it to one, then it'll screw over the restore process and fetch-deps
22:01:47
@6pak:matrix.org6pak afaik RuntimeIdentifiers only affects nuget restore 22:01:48
@gggkiller:matrix.orgGGGYeah22:01:55
@6pak:matrix.org6pakand it doesn't make sense to download stuff you don't need to build what you want22:01:56
@6pak:matrix.org6pak because it's wrong imo 22:02:18
@gggkiller:matrix.orgGGGWhich is why I was thinking of setting it based on the `meta.supportedPlatforms`22:02:24
@gggkiller:matrix.orgGGGThat way it'd only restore for the platforms it supports 22:02:37
@6pak:matrix.org6pak fetch-deps output should be specific for the platform 22:02:39
@gggkiller:matrix.orgGGGNo, I disagree with that22:02:51
@6pak:matrix.org6pakbecause you shouldn't need to download unfree windows deps if you build a linux app22:02:57
@6pak:matrix.org6pakjust because it supports windows target22:03:01
@gggkiller:matrix.orgGGGSure, we can have per platform dependencies in the file 22:03:05

Show newer messages


Back to Room ListRoom Version: 9