chroma/shell.nix
NotAShelf 58861c1ea5
nix: drop libGL and mesa from build and shell inputs
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I898c36e5b2753f8d7dbef081ee6e2e686a6a6964
2026-05-18 00:23:18 +03:00

48 lines
1 KiB
Nix

{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
name = "chroma";
buildInputs = with pkgs; [
gnumake
# Optional development tools
gdb
valgrind
strace
bear
# Code formatting and analysis
clang-tools # includes clang-format
cppcheck
# Wayland libraries
wayland.dev
wayland-protocols
wayland-scanner
libxkbcommon
# System libraries
glibc.dev
# For Tests
(python313.withPackages (ps: with ps; [matplotlib numpy]))
];
nativeBuildInputs = with pkgs; [
pkg-config
];
shellHook = ''
echo "Available commands:"
echo " make - Build the project"
echo " make debug - Build with debug symbols"
echo " make clean - Clean build artifacts"
echo " make install - Install to ~/.local"
echo " make help - Show all available targets"
echo
echo "Run 'make check-deps' to verify all dependencies are available."
echo
'';
# Environment variables for the build system
env.WAYLAND_DEBUG = 1;
}