nixpkgs/pkgs/development/compilers/llvm/3.5/libc++/setup-hook.sh

4 lines
152 B
Bash

export NIX_CFLAGS_COMPILE+=" -isystem @out@/include/c++/v1"
export NIX_CXXSTDLIB_COMPILE=" -stdlib=libc++"
export NIX_CXXSTDLIB_LINK=" -stdlib=libc++"