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
|
2023-03-16 21:47:36 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
udev alsa-lib vulkan-loader
|
|
|
|
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;
|
|
|
|
}
|