Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 24 lines 515 B view raw
1{ 2 lib, 3 mkDerivation, 4 extra-cmake-modules, 5 kdoctools, 6 qtbase, 7}: 8 9mkDerivation { 10 pname = "kjs"; 11 nativeBuildInputs = [ 12 extra-cmake-modules 13 kdoctools 14 ]; 15 buildInputs = [ 16 qtbase 17 ]; 18 cmakeFlags = [ 19 # this can break stuff, see: 20 # https://invent.kde.org/frameworks/kjs/-/blob/3c663ad8ac16f8982784a5ebd5d9200e7aa07936/CMakeLists.txt#L36-46 21 # However: It shouldn't break much considering plasma 5 is planned to be removed. 22 (lib.cmakeBool "KJS_FORCE_DISABLE_PCRE" true) 23 ]; 24}