summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2020-12-23 08:02:26 +0100
committerGitHub <noreply@github.com>2020-12-23 08:02:26 +0100
commit179eb032dfdce82e9c0cf1c2edfd531d9ecebab6 (patch)
tree9bbad132487ef775befbf4398c32a56d57a70f7a
parent4dc9718643af7b5659609ffd1a5b7cb6c254cb6e (diff)
parent9521efa607568af7f81e77a0467d0169ceddf5c2 (diff)
Merge pull request #107337 from veprbl/pr/cling_darwin
cling: fix on darwin
-rw-r--r--pkgs/development/interpreters/cling/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix
index 68819fa7ab06..c22ad3f4cb0f 100644
--- a/pkgs/development/interpreters/cling/default.nix
+++ b/pkgs/development/interpreters/cling/default.nix
@@ -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"
];