feat(emacs-pkgs/tvl): Add #'tvl-depot-status function

This function opens the depot in magit. By default the depot path is
assumed to be `/depot`, but that is made available as a customise
option that users can override.

Change-Id: Iefc127cad515dbae330d7af3aa69a0c53aa02015
Reviewed-on: https://cl.tvl.fyi/c/depot/+/504
Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
Vincent Ambo 2020-06-19 16:54:54 +01:00 committed by tazjin
parent e7f8bdd548
commit 9266b3947d
2 changed files with 9 additions and 3 deletions

View file

@ -41,9 +41,6 @@
(man "configuration.nix"))
;; Open my monorepo in magit
(defun depot-status ()
(interactive)
(magit-status depot-path))
;; Get the nix store path for a given derivation.
;; If the derivation has not been built before, this will trigger a build.