!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

121 Members
24 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Oct 2024
@6pak:matrix.org6pakwould probably be a good idea to have a version check in the nix package17:16:16
17 Oct 2024
@emma:rory.gayEmma [it/its]question, with dotnet packaging, how come dotnetCorePackages.sdk_9_0 exists in nixpkgs but dotnet-sdk_9 doesnt? i cant figure out from nixpkgs where the discrepancy comes from13:05:11
@emma:rory.gayEmma [it/its]is it just the omission of dotnet-x_9 in all-packages.nix?13:06:02
@emma:rory.gayEmma [it/its]hm, how can i make an aot binary built on nixos work on not nixos?13:23:34
@corngood:corngood.comCorngood
In reply to @emma:rory.gay
is it just the omission of dotnet-x_9 in all-packages.nix?

Yeah. I was toying with the idea of deprecating those top level aliases, so I left it out for the time being.

There's some discussion of potential reorg here: https://github.com/NixOS/nixpkgs/pull/286134, but I'm not sure I still agree with everything I prototyped there.

I was trying to abstract the idea of a dotnet 'distribution': muxer, sdk, runtime, etc. which can either be binary or souce-built.

13:43:45
@corngood:corngood.comCorngood
In reply to @emma:rory.gay
hm, how can i make an aot binary built on nixos work on not nixos?

How would you do that with a typical package? Something like pkgsStatic.hello?

Maybe it's enough to build with pkgsStatic.stdenv. There's an AOT test in dotnet-sdk_8.tests.aot (dotnet/common.nix) that you could experiment with. It's not something I've ever tested.

13:48:46
21 Oct 2024
@vengmark2:matrix.org@vengmark2:matrix.org Anyone who might be able to help build Daggerfall Unity? The upstream build docs only explain how to do it from the Unity GUI. 06:56:08

Show newer messages


Back to Room ListRoom Version: 9