Skip to content

Commit

Permalink
Add shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
Piturnah committed Sep 9, 2023
1 parent 39078af commit 08b5b63
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{ pkgs ? import <nixpkgs> { } }:

with pkgs;

mkShell rec {
nativeBuildInputs = [
pkg-config
];
buildInputs = [
udev alsa-lib vulkan-loader
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature
libxkbcommon wayland # To use the wayland feature
];
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
}

0 comments on commit 08b5b63

Please sign in to comment.