atrip/etc/nix/clang.nix

15 lines
165 B
Nix

{ pkgs, ...}:
{
buildInputs = with pkgs; [
clang
llvmPackages.openmp
];
shellHook = ''
export OMPI_CC=clang
export OMPI_CXX=clang++
'';
}