2023-03-16 17:47:36 -04:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
mkShell rec {
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
openssl
|
|
|
|
wasm-pack
|
|
|
|
trunk
|
2023-05-18 01:11:04 -04:00
|
|
|
valgrind
|
|
|
|
heaptrack
|
2023-05-18 23:44:07 -04:00
|
|
|
mold
|
2023-07-11 01:11:35 -04:00
|
|
|
udev
|
2024-02-19 17:57:48 -05:00
|
|
|
lua5_4_compat
|
2023-03-16 17:47:36 -04:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2024-02-19 17:57:48 -05:00
|
|
|
udev alsa-lib libGL gcc
|
|
|
|
vulkan-loader vulkan-headers vulkan-tools
|
2023-03-16 17:47:36 -04:00
|
|
|
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature
|
|
|
|
libxkbcommon wayland # To use the wayland feature
|
|
|
|
];
|
|
|
|
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
|
|
|
}
|