Use older intellij to reduce errors in kotlin@0
more/packages/intellij.scm
45 | 45 | ||
46 | 46 | ;(define intellij-community-2013-commit "8bc091c3131a888b5400c63a9e51eb0bc7fbe0fb") | |
47 | 47 | ;; Take a random old commit that has the right files | |
48 | - | (define intellij-community-2013-commit "f116b27261f9dea1c0f00b90ad09d58c6e2fa2f2") | |
48 | + | ;(define intellij-community-2013-commit "f116b27261f9dea1c0f00b90ad09d58c6e2fa2f2") | |
49 | + | (define intellij-community-2013-commit "32cf812a36e0efd8d7859378b52c0ea3b1e3e321") | |
49 | 50 | (define intellij-community-2013-version (git-version "0.0.0" "0" | |
50 | 51 | intellij-community-2013-commit)) | |
51 | 52 | ||
… | |||
84 | 85 | (define intellij-community-2013-source (get-intellij-community-source | |
85 | 86 | intellij-community-2013-commit | |
86 | 87 | intellij-community-2013-version | |
87 | - | "095xj9kyg5x6gzqpswgv48zqzwcy5ijfkmmifshffkilq0m0sqng")) | |
88 | + | "1r9jrmbc634zlg3gvqmlqlhi0sf2sjgvgnc3an5wfz1w8izbk6ji")) | |
88 | 89 | ||
89 | 90 | (define (strip-intellij-variant variant-property base) | |
90 | 91 | (package | |
… | |||
300 | 301 | (inherit base) | |
301 | 302 | (propagated-inputs | |
302 | 303 | (append (alist-delete "java-jdom-for-intellij" (package-propagated-inputs base)) | |
303 | - | `(("java-batik-1.7" ,java-batik-1.7) | |
304 | + | `(("java-asm" ,java-asm) | |
305 | + | ("java-batik-1.7" ,java-batik-1.7) | |
306 | + | ("java-cglib" ,java-cglib) | |
304 | 307 | ("java-iq80-snappy" ,java-iq80-snappy) | |
305 | 308 | ("java-jdom" ,java-jdom-for-intellij-2013) | |
306 | 309 | ("java-jsr166e-for-intellij-2013" ,java-jsr166e-for-intellij-2013) | |
307 | - | ("java-picocontainer-1" ,java-picocontainer-1)))) | |
310 | + | ("java-picocontainer-1" ,java-picocontainer-1) | |
311 | + | ("java-xstream" ,java-xstream)))) | |
308 | 312 | (inputs | |
309 | 313 | `(("java-eawtstub" ,java-eawtstub))) | |
310 | 314 | (arguments | |
… | |||
389 | 393 | (propagated-inputs | |
390 | 394 | (append (package-propagated-inputs base) | |
391 | 395 | `(("java-asm" ,java-asm) | |
392 | - | ("java-cglib" ,java-cglib)))) | |
393 | - | (arguments | |
394 | - | (append | |
395 | - | (package-arguments base) | |
396 | - | `(#:phases | |
397 | - | (modify-phases %standard-phases | |
398 | - | (add-before 'build 'fix-cglib-asm | |
399 | - | (lambda _ | |
400 | - | ;; needed for platform-impl, but we don't build it | |
401 | - | (delete-file-recursively "platform/core-api/src/net") | |
402 | - | #t))))))))) | |
396 | + | ("java-cglib" ,java-cglib))))))) | |
403 | 397 | ||
404 | 398 | (define-public java-intellij-platform-boot | |
405 | 399 | (package | |
… | |||
442 | 436 | `(("java-guava" ,java-guava) | |
443 | 437 | ("java-intellij-platform-boot" ,java-intellij-platform-boot) | |
444 | 438 | ("java-intellij-platform-core-api" ,java-intellij-platform-core-api))) | |
439 | + | (properties | |
440 | + | `((intellij-2013-variant . ,(delay java-intellij-platform-core-impl-2013)))) | |
445 | 441 | (home-page "https://github.com/JetBrains/intellij-community") | |
446 | 442 | (synopsis "") | |
447 | 443 | (description "") | |
448 | 444 | (license license:asl2.0))) | |
449 | 445 | ||
446 | + | (define-public java-intellij-platform-core-impl-2013 | |
447 | + | (let ((base (intellij-2013-package | |
448 | + | (strip-2013-variant java-intellij-platform-core-impl)))) | |
449 | + | (package | |
450 | + | (inherit base) | |
451 | + | (propagated-inputs | |
452 | + | (append (package-propagated-inputs base) | |
453 | + | `(("java-snappy" ,java-snappy))))))) | |
454 | + | ||
450 | 455 | (define-public java-intellij-java-psi-api | |
451 | 456 | (package | |
452 | 457 | (name "java-intellij-java-psi-api") | |
… | |||
525 | 530 | (inherit base) | |
526 | 531 | (arguments | |
527 | 532 | (substitute-keyword-arguments (package-arguments base) | |
533 | + | ((#:source-dir _) | |
534 | + | "java/java-psi-impl/src") | |
528 | 535 | ((#:phases phases) | |
529 | 536 | `(modify-phases ,phases | |
530 | 537 | (add-before 'build 'fix-asm |