Skip to content

Commit

Permalink
Add nix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
vE5li committed Feb 12, 2024
1 parent 93ac980 commit 0ec45ee
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions korangar.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> {} }:

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";
}

0 comments on commit 0ec45ee

Please sign in to comment.