From 5bb2c66f993af476973a093d0d032c8cbb92b70b Mon Sep 17 00:00:00 2001 From: Ralph Langendam Date: Fri, 3 Jul 2026 15:55:36 +0200 Subject: [PATCH] Added a shell.nix for easy development using Nix --- shell.nix | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000000000..a44beec2d5bf5 --- /dev/null +++ b/shell.nix @@ -0,0 +1,35 @@ +{ + pkgs ? import { }, +}: + +pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + pkg-config + ]; + + buildInputs = with pkgs; [ + alsa-lib + libudev-zero + libx11 + libxcursor + libxi + libxrandr + libxkbcommon + vulkan-loader + wayland + ]; + + env = { + LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath ( + with pkgs; + [ + libx11 + libxcursor + libxi + libxkbcommon + vulkan-loader + wayland + ] + ); + }; +}