nixpkgs/pkgs/kde/gear/kdevelop/default.nix
Reno Dakota 52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00

47 lines
714 B
Nix

{
lib,
mkKdeDerivation,
qtwebengine,
qttools,
kdevelop-pg-qt,
pkg-config,
shared-mime-info,
apr,
aprutil,
boost,
libastyle,
libclang,
libllvm,
subversion,
}:
mkKdeDerivation {
pname = "kdevelop";
extraNativeBuildInputs = [
kdevelop-pg-qt
pkg-config
shared-mime-info
];
extraPropagatedBuildInputs = [
qtwebengine
];
extraBuildInputs = [
qttools
apr
aprutil
boost
libastyle
libclang
libllvm
subversion
];
extraCmakeFlags = [
"-DCLANG_BUILTIN_DIR=${lib.getLib libclang}/lib/clang/${lib.versions.major libclang.version}/include"
"-DAPR_CONFIG_PATH=${apr.dev}/bin"
"-DAPU_CONFIG_PATH=${aprutil.dev}/bin"
];
}