-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
41 lines (39 loc) · 709 Bytes
/
Copy pathshell.nix
File metadata and controls
41 lines (39 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
with (import <nixpkgs> {});
mkShell {
packages = [
git
ninja
cmake
pkg-config
meson
sdl2-compat
sdl3
vulkan-loader
] ++ lib.optionals stdenv.hostPlatform.isLinux [
libglvnd
libgbm
libxau
libxdmcp
libxcb
libx11
libxrandr
libffi
libxkbcommon
libdecor
wayland-scanner
wayland-protocols
egl-wayland
wayland
cairo
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
] ++ lib.optionals stdenv.hostPlatform.isWindows [
];
LD_LIBRARY_PATH = lib.makeLibraryPath ([
vulkan-loader
] ++ lib.optionals stdenv.hostPlatform.isLinux [
libxkbcommon
wayland
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
] ++ lib.optionals stdenv.hostPlatform.isWindows [
]);
}