Open sss123next opened 2 years ago
fixed issue with gsettings-schemas:
codelite = with gnome; with gsettings-desktop-schemas; (llvmPackages_15.stdenv.mkDerivation {
name = "codelite";
version = "2023-01-30";
src = fetchFromGitHub {
owner = "eranif";
repo = "codelite";
rev = "b1005a7d2b26552f48700a831f9cebebb46e2281";
sha256 = "sha256-EwBug9ScSL97rqbNJoC/t9w1GYV9aR9b8UtfeNC4xiM=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
wrapGAppsHook
which #required for cmake script
];
buildInputs = [
clang_14
sqlite
gsettings-desktop-schemas
(wxGTK32.overrideAttrs (
old: rec {
version = "2023-01-29";
src = fetchFromGitHub {
owner = "wxWidgets";
repo = "wxWidgets";
rev = "93c65513643a9e5c544d258d06006b449663249d";
hash = "sha256-aw74hFogG6ebOap23sKzq8dT7CL6YbqO1MW/sEndMZ8=";
fetchSubmodules = true;
};
configureFlags = [
"--disable-precomp-headers"
# This is the default option, but be explicit
"--disable-monolithic"
"--enable-mediactrl"
"--with-nanosvg"
"--with-opengl"
];
}
)
)
pcre
gtk3
lldb
hunspell
];
# Make '#include <hb.h>' Just Work.
# Do clients expect to use '#include <harfbuzz/hb.h>'?
NIX_CFLAGS_COMPILE = "-I${harfbuzz.dev}/include/harfbuzz";
cmakeFlags = [
"-DWITH_SFTP=0"
"-DENABLE_SFTP=0"
"-DUSE_CLANG=1"
"-DCL_PREFIX=${placeholder "out"}"
];
postPatch = ''
sed 's/option(ENABLE_STATIC "Enable static build" ON)/option(ENABLE_STATIC "Enable static build" OFF)/g' -i ctags/CMakeLists.txt
sed 's/set(LIBS -static)//g' -i ctags/CMakeLists.txt
'';
}
);
also, it should build fine with wxGTK32. so probably custom wxGTK is not needed anymore
Seems there is open PR connected to duplicated issue https://github.com/NixOS/nixpkgs/issues/238337
Project description A free, open source, C/C++/PHP and JavaScript IDE
Metadata