-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
43 lines (38 loc) · 918 Bytes
/
shell.nix
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
42
43
with import <nixpkgs> {};
mkShell {
name = "ghengin";
packages = [
haskell.compiler.ghc910
cabal-install
pkg-config
glfw
freetype
vulkan-headers
vulkan-loader
vulkan-validation-layers
vulkan-tools # vulkaninfo
shaderc # GLSL to SPIRV compiler - glslc
# renderdoc # Graphics debugger
# tracy # Graphics profiler
vulkan-tools-lunarg # vkconfig
# bindings-GLFW
xorg.libX11
xorg.libXi
xorg.libXrandr
xorg.libXxf86vm
xorg.libXcursor
xorg.libXinerama
# debugging
gdb
libelf
libdwarf
elfutils
];
buildInputs = with pkgs; [
glfw
freetype
];
LD_LIBRARY_PATH="${glfw}/lib:${freetype}/lib:${vulkan-loader}/lib:${vulkan-validation-layers}/lib";
VULKAN_SDK = "${vulkan-headers}";
VK_LAYER_PATH = "${vulkan-validation-layers}/share/vulkan/explicit_layer.d";
}