@@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
17 postPatch = ''
17 postPatch = ''
18 patchShebangs share/extensions
18 patchShebangs share/extensions
20+ # Clang gets misdetected, so hardcode the right answer
21+ + stdenv.lib.optionalString (stdenv.cc.cc.isClang or false) ''
22+ substituteInPlace src/ui/tool/node.h \
23+ --replace "#if __cplusplus >= 201103L" "#if true"
21 propagatedBuildInputs = [
26 propagatedBuildInputs = [