packages/shells/ryujinx/default.nix

88 lines
1 KiB
Nix
Raw Normal View History

2024-06-06 00:11:34 +00:00
{
lib,
mkShell,
dotnetCorePackages,
libX11,
libgdiplus,
SDL2_mixer,
openal,
libsoundio,
sndio,
pulseaudio,
vulkan-loader,
ffmpeg,
2024-10-02 04:00:50 +00:00
dbus,
2024-06-06 00:11:34 +00:00
libICE,
libSM,
libXi,
libXcursor,
libXext,
libXrandr,
2024-10-02 04:00:50 +00:00
libXScrnSaver,
libXau,
libXdmcp,
libXrender,
libXfixes,
libxcb,
2024-06-06 00:11:34 +00:00
fontconfig,
glew,
libGL,
SDL2,
udev,
2024-10-02 04:00:50 +00:00
libdbusmenu,
2024-06-06 00:11:34 +00:00
}:
2024-03-05 04:05:03 +00:00
2024-10-02 03:10:58 +00:00
let
sdk =
with dotnetCorePackages;
combinePackages [
sdk_8_0
runtime_8_0
];
in
2024-03-05 04:05:03 +00:00
mkShell {
packages = [
2024-10-02 03:10:58 +00:00
sdk
2024-03-05 04:05:03 +00:00
];
2024-10-02 03:10:58 +00:00
DOTNET_ROOT = "${sdk}";
2024-10-02 04:00:50 +00:00
DOTNET_CLI_TELEMETRY_OPTOUT = "1";
2024-03-05 04:05:03 +00:00
LD_LIBRARY_PATH = lib.makeLibraryPath [
# Base
libX11
libgdiplus
SDL2_mixer
openal
libsoundio
sndio
pulseaudio
2024-03-28 03:48:59 +00:00
udev
2024-03-05 04:05:03 +00:00
vulkan-loader
ffmpeg
2024-10-02 04:00:50 +00:00
dbus
2024-03-05 04:05:03 +00:00
# Avalonia UI
libICE
libSM
libXi
libXcursor
libXext
libXrandr
2024-10-02 04:00:50 +00:00
libXScrnSaver
libXau
libXdmcp
libXrender
libXfixes
libxcb
2024-03-05 04:05:03 +00:00
fontconfig
glew
2024-10-02 04:00:50 +00:00
libdbusmenu
2024-03-05 04:05:03 +00:00
# Headless executable
libGL
SDL2
];
}