bonfire/devShells/rust-x11.nix

24 lines
504 B
Nix
Raw Normal View History

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