diff --git a/flake.nix b/flake.nix index 6c3618c..98825a8 100644 --- a/flake.nix +++ b/flake.nix @@ -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)