They don't know I am reproducible
This commit is contained in:
parent
9c0b13346e
commit
83bef6da7e
2
Makefile
2
Makefile
@ -55,7 +55,7 @@ l_wl_protocols := gen/l_wl_protocols/xdg-shell-client.h $(xdg_shell_private)
|
||||
|
||||
out/l2/r0: src/l2/tests/r0/r0.c $(HEADERS_src_l2) $(l_wl_protocols)
|
||||
mkdir -p out/l2
|
||||
$(cc) $(cflags) -o $@ $< $(xdg_shell_private) -lvulkan -lm -lxkbcommon -lwayland-client
|
||||
$(cc) $(cflags) -o $@ $< $(xdg_shell_private) -lvulkan -lm -lxkbcommon -lwayland-client -lpng
|
||||
|
||||
out/l2/r1: src/l2/tests/r1/r1.c $(HEADERS_src_l2) $(l_wl_protocols)
|
||||
mkdir -p out/l2
|
||||
|
||||
33
shell.nix
Normal file
33
shell.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ pkgs ? import <nixpkgs> {}}:
|
||||
|
||||
let libs = (with pkgs; [
|
||||
fontconfig
|
||||
freetype
|
||||
zlib
|
||||
sqlite
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
vulkan-validation-layers
|
||||
libxkbcommon
|
||||
libpng
|
||||
]); in
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
pipewire
|
||||
shaderc
|
||||
gnumake
|
||||
gcc
|
||||
cmake # Does not actually needed by anything
|
||||
pkg-config
|
||||
wayland
|
||||
wayland-protocols
|
||||
wayland-scanner
|
||||
mesa
|
||||
] ++ libs;
|
||||
|
||||
shellHook = ''
|
||||
export VK_LAYER_PATH="${pkgs.vulkan-validation-layers}/share/vulkan/explicit_layer.d"
|
||||
echo Day ruined.
|
||||
'';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user