Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
953 B · 26 lines
123456789101112131415161718192021222324252627#!/bin/sh
buildcpath() { local path after while (( $# )); do case $1 in -isystem) shift path=$path${path:+':'}$1 ;; -idirafter) shift after=$after${after:+':'}$1 ;; esac shift done echo $path${after:+':'}$after}
export CPATH=${CPATH}${CPATH:+':'}$(buildcpath ${NIX_CFLAGS_COMPILE} \ $(<@clang@/nix-support/libc-cflags)):@clang@/resource-root/includeexport CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}${CPLUS_INCLUDE_PATH:+':'}$(buildcpath ${NIX_CFLAGS_COMPILE} \ $(<@clang@/nix-support/libcxx-cxxflags) \ $(<@clang@/nix-support/libc-cflags)):@clang@/resource-root/includeexec -a "$0" @out@/bin/.$(basename $0)-unwrapped "$@"