branch: elpa/flycheck
commit 87ea83e0f854e748792d5e078729c633ab86adc9
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Fix dependency installation failure in CI
    
    Installing nix-mode failed with "Cannot open load file: compat-31"
    because its transitive dependencies (magit-section and compat) aren't
    activated in time for byte-compilation when they're installed as part
    of the same transaction.  Installing them explicitly first avoids the
    problem.
---
 Eask | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Eask b/Eask
index a58d802391..522a5cfbdc 100644
--- a/Eask
+++ b/Eask
@@ -20,6 +20,13 @@
 (depends-on "seq" "2.24")
 
 (development
+ ;; Install compat and magit-section explicitly before the major-mode
+ ;; packages below.  When they are pulled in as transitive dependencies
+ ;; (nix-mode -> magit-section -> compat) they are not activated in time
+ ;; for the dependent package's byte-compilation, which fails with
+ ;; "Cannot open load file: compat-31".
+ (depends-on "compat")
+ (depends-on "magit-section")
  (depends-on "f")                       ; For some maintenance tools
  (depends-on "buttercup")               ; BDD test framework for Emacs
  (depends-on "shut-up")                 ; Silence Emacs

Reply via email to