Skip to content

Commit 8fe1096

Browse files
authored
Merge pull request #19399 from MattSturgeon/flake-dotnet
flake: add dotnet dependencies
2 parents 8379b2c + 2a6bf02 commit 8fe1096

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
clang
2929
llvmPackages.libcxx
3030

31+
# Dotnet
32+
dotnetCorePackages.sdk_9_0
33+
3134
# Electron (wrapped with GTK dependencies)
3235
electron_39 # 14 Dec 2025: We're ahead of Vortex which is on 37. Doing this for default Wayland support.
3336

@@ -53,6 +56,9 @@
5356

5457
# Point to Nix-provided Electron
5558
ELECTRON_OVERRIDE_DIST_PATH = "${pkgs.electron_39}/libexec/electron";
59+
60+
# Make the dotnet runtime available
61+
DOTNET_ROOT = "${pkgs.dotnetCorePackages.runtime_9_0}/share/dotnet";
5662
};
5763

5864
# Set up GTK environment (mimics wrapGAppsHook3)

0 commit comments

Comments
 (0)