packages/shells/ryujinx/default.nix

70 lines
793 B
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,
libICE,
libSM,
libXi,
libXcursor,
libXext,
libXrandr,
fontconfig,
glew,
libGL,
SDL2,
udev,
}:
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-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
# Avalonia UI
libICE
libSM
libXi
libXcursor
libXext
libXrandr
fontconfig
glew
# Headless executable
libGL
SDL2
];
}