summary refs log tree commit diff
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2021-11-06 05:45:12 +0000
committerLudovic Courtès <ludo@gnu.org>2021-11-17 23:05:58 +0100
commitb737607c549765da0a89ae362d1294379884a0dd (patch)
tree01191d6ed6a6ff2eb6d9908fb40f587546c93b32
parent7c4142628a397f7863f346635591dbe92b667b45 (diff)
downloadguix-b737607c549765da0a89ae362d1294379884a0dd.tar.gz
gnu: rcs: Install rcsfreeze.
* gnu/packages/version-control.scm (rcs): Install rcsfreeze.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/version-control.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c8b5861068..739bb28355 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2049,6 +2049,14 @@ projects, from individuals to large-scale enterprise operations.")
                "1if5pa4iip2p70gljm54nggfdnsfjxa4cqz8fpj07lvsijary39s"))
              (patches (search-patches "rcs-5.10.0-no-stdin.patch"))))
     (build-system gnu-build-system)
+    (arguments `(#:phases
+                 (modify-phases %standard-phases
+                   (add-after 'install 'install-rcsfreeze
+                     (lambda* (#:key outputs #:allow-other-keys)
+                       (chmod "src/rcsfreeze" #o755)
+                       (install-file
+                         "src/rcsfreeze"
+                         (string-append (assoc-ref outputs "out") "/bin")))))))
     (native-inputs `(("ed" ,ed)))
     (home-page "https://www.gnu.org/software/rcs/")
     (synopsis "Per-file local revision control system")