bonfire/devShells/rust-x11.nix

28 lines
430 B
Nix
Raw Normal View History

{
pkgs,
crane-lib,
...
}:
2024-04-20 01:34:48 +05:00
crane-lib.devShell rec {
packages = with pkgs; [
lld
pkg-config
libGL
vulkan-loader
vulkan-headers
vulkan-tools
vulkan-validation-layers
xorg.libXi
xorg.libX11
xorg.libXcursor
xorg.libXrandr
libxkbcommon
libudev-zero
alsa-lib
];
2024-01-13 11:54:07 +05:00
shellHook = ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath packages}"
'';
2024-01-13 11:54:07 +05:00
}