2023-08-06 04:25:58 +02:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = [
|
|
|
|
pkgs.gcc
|
|
|
|
pkgs.pkg-config
|
|
|
|
pkgs.systemd
|
|
|
|
pkgs.seatd
|
|
|
|
pkgs.wayland
|
|
|
|
pkgs.libxkbcommon
|
|
|
|
pkgs.mesa
|
|
|
|
pkgs.libinput
|
|
|
|
pkgs.xorg.libX11
|
|
|
|
pkgs.xorg.libXcursor
|
|
|
|
pkgs.xorg.libXrandr
|
|
|
|
pkgs.xorg.libXi
|
|
|
|
pkgs.libglvnd
|
|
|
|
pkgs.libGL
|
|
|
|
pkgs.libGL.dev
|
|
|
|
pkgs.egl-wayland
|
2023-08-07 02:41:48 +02:00
|
|
|
pkgs.xwayland
|
2023-08-06 04:25:58 +02:00
|
|
|
];
|
|
|
|
shellHook = ''
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.wayland}/lib:${pkgs.libxkbcommon}/lib:${pkgs.libGL}/lib
|
|
|
|
export LUA_PATH="$LUA_PATH"
|
|
|
|
export LUA_CPATH="$LUA_CPATH"
|
|
|
|
'';
|
|
|
|
}
|