88 lines
1 KiB
Nix
88 lines
1 KiB
Nix
{
|
|
SDL2,
|
|
SDL2_mixer,
|
|
dbus,
|
|
dotnetCorePackages,
|
|
ffmpeg,
|
|
fontconfig,
|
|
glew,
|
|
lib,
|
|
libGL,
|
|
libICE,
|
|
libSM,
|
|
libX11,
|
|
libXScrnSaver,
|
|
libXau,
|
|
libXcursor,
|
|
libXdmcp,
|
|
libXext,
|
|
libXfixes,
|
|
libXi,
|
|
libXrandr,
|
|
libXrender,
|
|
libdbusmenu,
|
|
libgdiplus,
|
|
libsoundio,
|
|
libxcb,
|
|
mkShell,
|
|
openal,
|
|
pulseaudio,
|
|
sndio,
|
|
udev,
|
|
vulkan-loader,
|
|
}:
|
|
|
|
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
|
|
SDL2_mixer
|
|
dbus
|
|
ffmpeg
|
|
libgdiplus
|
|
libsoundio
|
|
openal
|
|
pulseaudio
|
|
sndio
|
|
udev
|
|
vulkan-loader
|
|
|
|
# Avalonia UI
|
|
fontconfig
|
|
glew
|
|
libICE
|
|
libSM
|
|
libX11
|
|
libXScrnSaver
|
|
libXau
|
|
libXcursor
|
|
libXdmcp
|
|
libXext
|
|
libXfixes
|
|
libXi
|
|
libXrandr
|
|
libXrender
|
|
libdbusmenu
|
|
libxcb
|
|
|
|
# Headless executable
|
|
SDL2
|
|
libGL
|
|
];
|
|
}
|