aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2019-10-21 21:02:06 -0700
committerBrian Leung <leungbk@mailfence.com>2019-10-21 21:23:27 -0700
commit8ce774a54bfc8897a10eb21cde4649069ee06a82 (patch)
tree07b8c0a8c3c65301325e3b6b68747cbd3ea257fd /gnu/packages/emacs-xyz.scm
parentf5d6c88d0f5e1556295c1a19c46ddfcb7a23107f (diff)
downloadpatches-8ce774a54bfc8897a10eb21cde4649069ee06a82.tar
patches-8ce774a54bfc8897a10eb21cde4649069ee06a82.tar.gz
gnu: emacs-counsel-dash: Require emacs-ivy.
* gnu/packages/emacs-xyz.scm (emacs-counsel-dash): Require emacs-ivy.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8c3c50efdc..307b15c583 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18531,6 +18531,15 @@ Dash docsets.")
(propagated-inputs
`(("emacs-dash-docs" ,emacs-dash-docs)
("emacs-ivy" ,emacs-ivy)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'require-ivy
+ (lambda _
+ (substitute* "counsel-dash.el"
+ (("^\\(require 'cl-lib\\)")
+ "(require 'cl-lib)\n(require 'ivy)\n(require 'subr-x)"))
+ #t)))))
(home-page "https://github.com/dash-docs-el/counsel-dash")
(synopsis "Offline documentation browser for APIs using Dash docsets")
(description "This package uses @code{ivy-mode} to install and navigate