CPP-on-NixOS/default.nix

14 lines
315 B
Nix

with (import <nixpkgs> {});
clangStdenv.mkDerivation {
name = "discern";
nativeBuildInputs = with pkgs; [
cmake
clang-tools
clang
];
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";
}