2024-05-21 21:32:30 +02:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
mkShell rec {
|
|
|
|
nativeBuildInputs = [
|
2024-05-26 11:40:52 +02:00
|
|
|
rustup
|
|
|
|
pkg-config
|
|
|
|
gnumake
|
2024-05-21 21:32:30 +02:00
|
|
|
|
|
|
|
# find missing test cases
|
|
|
|
cargo-tarpaulin
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
# servicepoint2 compression
|
|
|
|
lzma xe
|
|
|
|
|
|
|
|
# for bevy
|
|
|
|
udev alsa-lib vulkan-loader
|
|
|
|
# bevy x11
|
|
|
|
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr
|
|
|
|
# bevy wayland
|
|
|
|
libxkbcommon wayland
|
2024-05-26 11:40:52 +02:00
|
|
|
];
|
2024-05-21 21:32:30 +02:00
|
|
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
2024-05-17 21:02:50 +02:00
|
|
|
}
|