From 9521efa607568af7f81e77a0467d0169ceddf5c2 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 21 Dec 2020 13:08:21 -0500 Subject: [PATCH] cling: fix libc include path for non-glibc --- pkgs/development/interpreters/cling/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index 68819fa7ab0..c22ad3f4cb0 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" ];