dwl/shell.nix

22 lines
401 B
Nix
Raw Normal View History

2024-01-12 21:31:29 +01:00
{ pkgs ? import <nixpkgs> { }, lib }:
let packages = with pkgs; [
pkg-config
wayland
wayland-protocols
wlroots
libxkbcommon
libinput
pixman
2024-01-12 21:48:11 +01:00
glibc
2024-01-12 21:31:29 +01:00
];
in
pkgs.mkShell {
inherit packages;
nativeBuildInputs = packages;
buildInputs = packages;
env = {
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
LD_LIBRARY_PATH = "${lib.makeLibraryPath packages}";
};
}