From 0ec45eef668b004139e6a3f599af8265011651b6 Mon Sep 17 00:00:00 2001 From: vE5li Date: Mon, 12 Feb 2024 13:10:47 +0100 Subject: [PATCH] Add nix shell --- korangar.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 korangar.nix diff --git a/korangar.nix b/korangar.nix new file mode 100644 index 00000000..c70ceb8b --- /dev/null +++ b/korangar.nix @@ -0,0 +1,14 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + packages = [ + pkgs.shaderc + pkgs.vulkan-headers + pkgs.vulkan-loader + pkgs.vulkan-validation-layers + pkgs.libxkbcommon + ]; + + LD_LIBRARY_PATH="${pkgs.wayland}/lib:${pkgs.vulkan-loader}/lib:${pkgs.libxkbcommon}/lib"; + VULKAN_SDK = "$VULKAN_SDK:${pkgs.vulkan-validation-layers}/share/vulkan/explicit_layer.d"; +}