2023-03-16 21:47:36 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
mkShell rec {
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
openssl
|
|
|
|
wasm-pack
|
|
|
|
trunk
|
2023-05-18 05:11:04 +00:00
|
|
|
valgrind
|
|
|
|
heaptrack
|
2023-05-19 03:44:07 +00:00
|
|
|
mold
|
2023-07-11 05:11:35 +00:00
|
|
|
udev
|
2024-02-19 22:57:48 +00:00
|
|
|
lua5_4_compat
|
2024-03-17 22:11:38 +00:00
|
|
|
rustup
|
2023-03-16 21:47:36 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
2024-02-19 22:57:48 +00:00
|
|
|
udev alsa-lib libGL gcc
|
|
|
|
vulkan-loader vulkan-headers vulkan-tools
|
2023-03-16 21:47:36 +00: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;
|
|
|
|
}
|