bonfire/devShells/rust-x11.nix

22 lines
523 B
Nix
Raw Normal View History

2024-01-13 11:54:07 +05:00
{ pkgs, cranelib, ... }:
cranelib.devShell {
2024-01-16 01:41:51 +05:00
packages = with pkgs; [
libGL
xorg.libXi xorg.libX11 xorg.libXcursor xorg.libXrandr
lld
libxkbcommon
vulkan-loader
];
2024-01-13 11:54:07 +05:00
shellHook = ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${
2024-01-16 01:41:51 +05:00
with pkgs; lib.makeLibraryPath [
libGL
xorg.libX11 xorg.libXi xorg.libXcursor xorg.libXrandr
libxkbcommon
vulkan-loader
]
2024-01-13 11:54:07 +05:00
}"
'';
}