queeridor/shell.nix

24 lines
431 B
Nix
Raw Normal View History

2024-07-30 06:30:34 +00:00
{ pkgs ? import <nixpkgs> { }, additionalBuildInputs ? [ ] }:
2024-07-30 05:04:58 +00:00
with pkgs;
mkShell rec {
nativeBuildInputs = [
pkg-config
];
buildInputs = [
2024-07-30 06:17:23 +00:00
udev
alsa-lib
vulkan-loader
xorg.libX11 # To use the x11 feature
xorg.libXcursor
xorg.libXrandr
xorg.libXi
libxkbcommon # To use the wayland feature
wayland
2024-07-30 06:30:34 +00:00
] ++ additionalBuildInputs;
2024-07-30 05:04:58 +00:00
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
}