!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
24 Servers

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


SenderMessageTime
19 Apr 2025
@corruptcomputer:matrix.orgcorruptcomputer

Ah finally got it figured out, changing the packages to the following fixed it

systemPackages = with pkgs; [
  (with dotnetCorePackages; combinePackages [dotnet_9.sdk dotnet_8.sdk])
];
07:38:26
@gggkiller:matrix.orgGGGyou actually need to have the SDK and no runtimes08:10:20
@gggkiller:matrix.orgGGG

corruptcomputer: ```
environment = let
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_9_0 sdk_8_0 ];
dotnetRoot = "${dotnet-sdk}/share/dotnet";
in {
etc = {
"dotnet/install_location".text = dotnetRoot;
};

systemPackages = with pkgs; [
dotnet-sdk
];
};

08:13:21
@gggkiller:matrix.orgGGG *

corruptcomputer:

environment = let
dotnet-sdk = with dotnetCorePackages; combinePackages \[ sdk\_9\_0 sdk\_8\_0 \];
dotnetRoot = "${dotnet-sdk}/share/dotnet";
in {
etc = {
"dotnet/install\_location".text = dotnetRoot;
};

systemPackages = with pkgs; \[
dotnet-sdk
\];
};
08:13:27

Show newer messages


Back to Room ListRoom Version: 9