···63, # command-t dependencies
64 getconf
65, ruby
0066, # cpsm dependencies
67 boost
68, cmake
···460461 # We need some patches so it stops complaining about not being in a venv
462 patches = [ ./patches/coq_nvim/emulate-venv.patch ];
00000000000463 };
464465 cpsm = super.cpsm.overrideAttrs {
···63, # command-t dependencies
64 getconf
65, ruby
66+, # cornelis dependencies
67+ cornelis
68, # cpsm dependencies
69 boost
70, cmake
···462463 # We need some patches so it stops complaining about not being in a venv
464 patches = [ ./patches/coq_nvim/emulate-venv.patch ];
465+ };
466+467+ cornelis = super.cornelis.overrideAttrs {
468+ dependencies = with self; [ vim-textobj-user ];
469+ opt = with self; [ vim-which-key ];
470+ # Unconditionally use the cornelis binary provided by the top-level package:
471+ patches = [ ./patches/cornelis/0001-Unconditionally-use-global-binary.patch ];
472+ postInstall = ''
473+ substituteInPlace $out/ftplugin/agda.vim \
474+ --subst-var-by CORNELIS "${lib.getBin cornelis}/bin/cornelis"
475+ '';
476 };
477478 cpsm = super.cpsm.overrideAttrs {