Subject: Re: [bug#28531] [PATCH] gnu: Add vcsh.

From: [email-masked] (Ludovic Courtès)
Date: Wed, 20 Sep 2017 22:32:09 +0200

Hi Stefan,

Stefan Reichör <[email-masked]> skribis:

> * gnu/packages/version-control.scm (vcsh): New variable.

Pushed with the minor changes below (the first sentence of the
description looked awkward to me).

Note that vcsh takes ‘git’ from $PATH.  I wonder if we should keep it
this way, or if we should hard-code the absolute file name to ‘git’ so
that it always works.

Thoughts?

Ludo’.

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 424907332..78e142b29 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -726,9 +726,10 @@ manipulate them in various ways.")
                (base32
                 "1ym3swkh738c3vciffvlr96vqzhwmzkb8ajqzap8f0j9n039a1mf"))))
     (build-system gnu-build-system)
+    (native-inputs
+     `(("which" ,which)))
     (inputs
      `(("git" ,git)
-       ("which" ,which)
        ("perl" ,perl)
        ("perl-test-harness" ,perl-test-harness)
        ("perl-shell-command" ,perl-shell-command)
@@ -741,12 +742,13 @@ manipulate them in various ways.")
                                          (assoc-ref %outputs "out")))
        #:test-target "test"))
     (home-page "https://github.com/RichiH/vcsh")
-    (synopsis "Version Control System for $HOME")
+    (synopsis "Version control system for @code{$HOME}")
     (description
-     "Maintain several Git repositories in one single directory.  They all
-maintain their working trees without clobbering each other or interfering
-otherwise.  By default, all Git repositories maintained via vcsh store the
-actual files in $HOME.  But this can be overridden.")
+     "vcsh version-controls configuration files in several Git repositories,
+all in one single directory.  They all maintain their working trees without
+clobbering each other or interfering otherwise.  By default, all Git
+repositories maintained via vcsh store the actual files in @code{$HOME},
+though this can be overridden.")
     (license license:gpl2+)))
 
 (define-public git-test-sequence