21 lines
391 B
Nix
21 lines
391 B
Nix
|
{ pkgs ? import <nixpkgs> { }, lib }:
|
||
|
let packages = with pkgs; [
|
||
|
pkg-config
|
||
|
wayland
|
||
|
wayland-protocols
|
||
|
wlroots
|
||
|
libxkbcommon
|
||
|
libinput
|
||
|
pixman
|
||
|
];
|
||
|
in
|
||
|
pkgs.mkShell {
|
||
|
inherit packages;
|
||
|
nativeBuildInputs = packages;
|
||
|
buildInputs = packages;
|
||
|
env = {
|
||
|
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
|
||
|
LD_LIBRARY_PATH = "${lib.makeLibraryPath packages}";
|
||
|
};
|
||
|
}
|