From b3d7bc0bee16070a73d074fa60ff3fddf1f4c115 Mon Sep 17 00:00:00 2001 From: NIMFER Date: Sun, 17 Mar 2024 04:59:57 +0100 Subject: [PATCH] I'm a dumb-ass, I should have read the docs, this was all I needed --- shell.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..1b853f0 --- /dev/null +++ b/shell.nix @@ -0,0 +1,16 @@ + +{ pkgs ? import { } }: + +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; +}