Add Wayland DRM leasing support to the Linux DRM backend
This commit is contained in:
parent
3366acf975
commit
cc772e4bcb
8 changed files with 1567 additions and 54 deletions
23
shell.nix
Normal file
23
shell.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}: pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
clang-tools
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
wayland
|
||||
libGL
|
||||
libgbm
|
||||
libdrm
|
||||
xorg.libXi
|
||||
xorg.libXcursor
|
||||
xorg.libXrandr
|
||||
xorg.libXinerama
|
||||
xorg.libX11
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath [ pkgs.xorg.libX11 pkgs.libGL ]}:$LD_LIBRARY_PATH"
|
||||
export PKG_CONFIG_PATH="${pkgs.lib.makeLibraryPath [ pkgs.libGL pkgs.libgbm pkgs.libdrm ]}/pkgconfig:$PKG_CONFIG_PATH"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue