From 33847acd53be387e8fcf2a77f63e14f7ea000b0c Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 2 Dec 2025 22:39:53 -0500 Subject: [PATCH] nix: add shell.nix --- shell.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..1424098 --- /dev/null +++ b/shell.nix @@ -0,0 +1,30 @@ +{ + pkgs ? import { }, +}: +pkgs.mkShell rec { + libs = with pkgs; [ + # wayland + libxkbcommon + libGL + wayland + + libx11 + libxcursor + libxi + + clang + ]; + + nativeBuildInputs = + with pkgs; + [ + rustc + cargo + rust-analyzer + python3Packages.fonttools + ] + ++ libs; + + # add libs to path + LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath libs}"; +}