Skip to content

Commit

Permalink
Move nix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
vE5li committed May 9, 2024
1 parent aabfdca commit 3088197
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
14 changes: 0 additions & 14 deletions korangar.nix

This file was deleted.

15 changes: 15 additions & 0 deletions korangar/shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
packages = with pkgs; [
shaderc
vulkan-headers
vulkan-loader
vulkan-validation-layers
libxkbcommon
];

LD_LIBRARY_PATH="${pkgs.wayland}/lib:${pkgs.vulkan-loader}/lib:${pkgs.libxkbcommon}/lib";
VULKAN_SDK="${pkgs.vulkan-validation-layers}/share/vulkan/explicit_layer.d";
# VULKAN_SDK="${pkgs.vulkan-headers}";
}

0 comments on commit 3088197

Please sign in to comment.