add glibc, valgrind, and ncurses

This commit is contained in:
Emile Clark-Boman 2025-09-09 11:20:51 +10:00
parent fc70057e7e
commit 511257bf98

View file

@ -11,7 +11,6 @@
}: let
defaultSystems = ["aarch64-darwin" "aarch64-linux" "i686-linux" "x86_64-darwin" "x86_64-linux"];
# forAllSystems = f: nixpkgs.lib.genAttrs defaultSystems (system: f system);
forAllSystems = f:
nixpkgs.lib.genAttrs defaultSystems (system:
f system (import nixpkgs {
@ -46,18 +45,23 @@
ghc
# C Dependencies
pipewire
glibc.dev
pipewire.dev
ncurses.dev
# Language/Development Tooling
clang-tools
bear # clang compile_commands.json
valgrind # memory debugging+profiling
haskell-language-server
ormolu
];
shell = "${pkgs.bash}/bin/bash";
# so I can easily read the glibc header files
GLIBC = "${pkgs.glibc.dev}/include";
# SPA API is provided by pipewire's "dev" derivation output
NIX_CFLAGS_COMPILE = let
# libpipewire (and libspa)