summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/cling/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/cling/default.nix')
-rw-r--r--pkgs/development/interpreters/cling/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix
index dbc2751e7899..73ed5b523dde 100644
--- a/pkgs/development/interpreters/cling/default.nix
+++ b/pkgs/development/interpreters/cling/default.nix
@@ -10,6 +10,7 @@
, runCommandNoCC
, llvmPackages_5
, glibc
+, ncurses
}:
let
@@ -38,8 +39,8 @@ let
chmod -R a+w ./tools/cling
'';
- nativeBuildInputs = [ python3 git cmake ];
- buildInputs = [ libffi llvmPackages_5.llvm zlib ];
+ nativeBuildInputs = [ python3 git cmake llvmPackages_5.llvm.dev ];
+ buildInputs = [ libffi llvmPackages_5.llvm zlib ncurses ];
strictDeps = true;
@@ -76,8 +77,8 @@ let
"-nostdinc"
"-nostdinc++"
"-isystem" "${lib.getDev stdenv.cc.libc}/include"
- "-I" "${unwrapped}/include"
- "-I" "${unwrapped}/lib/clang/5.0.2/include"
+ "-I" "${lib.getDev unwrapped}/include"
+ "-I" "${lib.getLib unwrapped}/lib/clang/5.0.2/include"
];
# Autodetect the include paths for the compiler used to build Cling, in the same way Cling does at