first commit, not pretty

This commit is contained in:
2025-12-10 23:50:28 +01:00
commit 5e9336c6c7
9 changed files with 1748 additions and 0 deletions

28
shell.nix Normal file
View File

@@ -0,0 +1,28 @@
with import <nixpkgs> { };
let
buildInputs = [
# For minifb
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXi
# Wayland support
wayland
libxkbcommon
];
in
mkShell {
nativeBuildInputs = [
pkg-config
];
inherit buildInputs;
shellHook = ''
export LD_LIBRARY_PATH="${lib.makeLibraryPath buildInputs}:$LD_LIBRARY_PATH"
echo "Teleprof dev environment loaded"
echo "Run: cargo run --example demo"
'';
}