-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
49 lines (46 loc) · 911 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
44
45
46
47
48
49
{pkgs ? import <nixpkgs> {}}:
with pkgs;
mkShell {
allowUnfree = true;
name = "haru!";
packages = [
zsh
glfw
freetype
pre-commit
bash-language-server
valgrind
yamlfix
yamlfmt
alejandra
cbfmt
mdformat
beautysh
shfmt
shellcheck
vulkan-tools
renderdoc
tracy
vulkan-tools-lunarg
clang-tools
clang
mold
cmake
glslang
vulkan-headers
vulkan-loader
vulkan-validation-layers
shaderc
pkg-config
];
buildInputs = [
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";
shellHook = ''
pre-commit install
'';
}