70 lines
793 B
Nix
70 lines
793 B
Nix
{
|
|
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,
|
|
}:
|
|
|
|
let
|
|
sdk =
|
|
with dotnetCorePackages;
|
|
combinePackages [
|
|
sdk_8_0
|
|
runtime_8_0
|
|
];
|
|
in
|
|
mkShell {
|
|
packages = [
|
|
sdk
|
|
];
|
|
|
|
DOTNET_ROOT = "${sdk}";
|
|
|
|
LD_LIBRARY_PATH = lib.makeLibraryPath [
|
|
# Base
|
|
libX11
|
|
libgdiplus
|
|
SDL2_mixer
|
|
openal
|
|
libsoundio
|
|
sndio
|
|
pulseaudio
|
|
udev
|
|
vulkan-loader
|
|
ffmpeg
|
|
|
|
# Avalonia UI
|
|
libICE
|
|
libSM
|
|
libXi
|
|
libXcursor
|
|
libXext
|
|
libXrandr
|
|
fontconfig
|
|
glew
|
|
|
|
# Headless executable
|
|
libGL
|
|
SDL2
|
|
];
|
|
}
|