Files
atrip/etc/nix/clang.nix
2022-03-14 11:43:13 +01:00

17 lines
208 B
Nix

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