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