summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2020-01-06 11:11:42 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2020-01-06 12:56:02 +0300
commit5097ce0ebdae6a27072fa3c5261925411a1611e8 (patch)
treea113fc49c1f9c9515b0810cc447fc351c4fc7257 /gnu
parent83b7917a2d97791d487af442b25c0a5092a8e6fa (diff)
downloadguix-5097ce0ebdae6a27072fa3c5261925411a1611e8.tar.gz
gnu: Add emacs-treemacs-extra.
* gnu/packages/emacs-xyz.scm (emacs-treemacs-extra): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2eb5a66fb7..9339bf0713 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17830,6 +17830,24 @@ processes for Emacs")
     (description "Powerful and flexible file tree project explorer.")
     (license license:gpl3+)))
 
+(define-public emacs-treemacs-extra
+  (package
+    (inherit emacs-treemacs)
+    (name "emacs-treemacs-extra")
+    (propagated-inputs
+     `(,@(package-propagated-inputs emacs-treemacs)
+       ("emacs-evil" ,emacs-evil)
+       ("emacs-magit" ,emacs-magit)
+       ("emacs-projectile" ,emacs-projectile)))
+    (arguments
+     (substitute-keyword-arguments
+         (package-arguments emacs-treemacs)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'chdir-elisp 'copy-extra
+             (lambda _
+               (copy-recursively "../extra" ".")))))))))
+
 (define-public emacs-lsp-ui
   (package
     (name "emacs-lsp-ui")