Fix building java-intellij-java-psi-impl-2013
more/packages/intellij.scm
429 | 429 | ("java-intellij-platform-core-impl" ,java-intellij-platform-core-impl) | |
430 | 430 | ("java-jetbrains-annotations" ,java-jetbrains-annotations) | |
431 | 431 | ("java-streamex" ,java-streamex))) | |
432 | + | (properties | |
433 | + | `((intellij-2013-variant . ,(delay java-intellij-java-psi-impl-2013)))) | |
432 | 434 | (home-page "https://github.com/JetBrains/intellij-community") | |
433 | 435 | (synopsis "") | |
434 | 436 | (description "") | |
435 | 437 | (license license:asl2.0))) | |
436 | 438 | ||
439 | + | (define-public java-intellij-java-psi-impl-2013 | |
440 | + | (let ((base (intellij-2013-package | |
441 | + | (strip-2013-variant java-intellij-java-psi-impl)))) | |
442 | + | (package | |
443 | + | (inherit base) | |
444 | + | (arguments | |
445 | + | (substitute-keyword-arguments (package-arguments base) | |
446 | + | ((#:phases phases) | |
447 | + | `(modify-phases ,phases | |
448 | + | (add-before 'build 'fix-asm | |
449 | + | (lambda _ | |
450 | + | (substitute* "java/java-psi-impl/src/com/intellij/psi/impl/compiled/ClsParsingUtil.java" | |
451 | + | (("V1_9") "V9")) | |
452 | + | #t))))))))) | |
453 | + | ||
437 | 454 | (define-public java-intellij-platform-resources | |
438 | 455 | (package | |
439 | 456 | (name "java-intellij-platform-resources") |