Cursen-Framework/default.nix

15 lines
408 B
Nix

with (import <nixpkgs> {});
clangStdenv.mkDerivation {
name = "template";
nativeBuildInputs = with pkgs; [
cmake
clang-tools
clang
];
# Workaround as Clangd cannot see std header files, so include set of files manually just for Clangd
CXXFLAGS = "-isystem${pkgs.gcc.cc}/include/c++/14.3.0 -isystem${pkgs.gcc.cc}/include/c++/14.3.0/x86_64-unknown-linux-gnu -isystem${pkgs.glibc.dev}/include";
}