packages/shells/ryujinx/default.nix

88 lines
1 KiB
Nix

{
lib,
mkShell,
dotnetCorePackages,
libX11,
libgdiplus,
SDL2_mixer,
openal,
libsoundio,
sndio,
pulseaudio,
vulkan-loader,
ffmpeg,
dbus,
libICE,
libSM,
libXi,
libXcursor,
libXext,
libXrandr,
libXScrnSaver,
libXau,
libXdmcp,
libXrender,
libXfixes,
libxcb,
fontconfig,
glew,
libGL,
SDL2,
udev,
libdbusmenu,
}:
let
sdk =
with dotnetCorePackages;
combinePackages [
sdk_8_0
runtime_8_0
];
in
mkShell {
packages = [
sdk
];
DOTNET_ROOT = "${sdk}";
DOTNET_CLI_TELEMETRY_OPTOUT = "1";
LD_LIBRARY_PATH = lib.makeLibraryPath [
# Base
libX11
libgdiplus
SDL2_mixer
openal
libsoundio
sndio
pulseaudio
udev
vulkan-loader
ffmpeg
dbus
# Avalonia UI
libICE
libSM
libXi
libXcursor
libXext
libXrandr
libXScrnSaver
libXau
libXdmcp
libXrender
libXfixes
libxcb
fontconfig
glew
libdbusmenu
# Headless executable
libGL
SDL2
];
}