cling: fix libc include path for non-glibc

This commit is contained in:
Dmitry Kalinkin 2020-12-21 13:08:21 -05:00
parent e49c1a0027
commit 9521efa607
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -73,7 +73,7 @@ let
flags = [
"-nostdinc"
"-nostdinc++"
"-isystem" "${glibc.dev}/include"
"-isystem" "${stdenv.lib.getDev stdenv.cc.libc}/include"
"-I" "${unwrapped}/include"
"-I" "${unwrapped}/lib/clang/5.0.2/include"
];