52 lines
783 B
Nix
52 lines
783 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
|
name = "surviepote";
|
|
|
|
buildInputs = with pkgs; [
|
|
jdk25
|
|
nodejs_22
|
|
git
|
|
curl
|
|
python3
|
|
# Test GUI headless du launcher (Electron) : Xvfb + libs runtime.
|
|
xvfb
|
|
alsa-lib
|
|
at-spi2-atk
|
|
atk
|
|
cairo
|
|
cups
|
|
dbus
|
|
expat
|
|
gdk-pixbuf
|
|
glib
|
|
gtk3
|
|
pango
|
|
nspr
|
|
nss
|
|
# Audio (backends OpenAL : ALSA/Pulse/PipeWire).
|
|
alsa-lib
|
|
pulseaudio
|
|
pipewire
|
|
libxkbcommon
|
|
mesa
|
|
libX11
|
|
libXcomposite
|
|
libXcursor
|
|
libXdamage
|
|
libXext
|
|
libXfixes
|
|
libXi
|
|
libXrandr
|
|
libXrender
|
|
libXScrnSaver
|
|
libXtst
|
|
libxcb
|
|
libxkbfile
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "SurviePote env: $(java -version 2>&1 | head -1) | node $(node --version)"
|
|
'';
|
|
}
|