mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-27 21:58:18 +01:00
27 lines
673 B
Nix
27 lines
673 B
Nix
{ 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
|
|
pkgs.xwayland
|
|
];
|
|
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"
|
|
'';
|
|
}
|