aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-01-06 19:01:12 +0300
committerMunyoki Kilyungi2025-01-06 19:02:24 +0300
commit56f2a508678e83c8778cda8057be4355d436ff5d (patch)
treef5a959555a8450496c7cef143a8c3340d821370d /gn/packages
parent7f3a5cf72e68d11298543da70170797d4b14224b (diff)
downloadguix-bioinformatics-56f2a508678e83c8778cda8057be4355d436ff5d.tar.gz
gn-guile: Patch "git" in web/view/markdown.scm.
* gn/packages/guile.scm: Import git-minimal. (gn-guile): Patch git-minimal in web/view/markdown.scm. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/guile.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gn/packages/guile.scm b/gn/packages/guile.scm
index 2b6bc5b..cbc5595 100644
--- a/gn/packages/guile.scm
+++ b/gn/packages/guile.scm
@@ -11,6 +11,7 @@
#:use-module ((gnu packages compression) #:select (zlib))
#:use-module ((gnu packages perl) #:select (perl))
#:use-module ((gnu packages texinfo) #:select (texinfo))
+ #:use-module ((gnu packages version-control) #:select (git-minimal))
#:use-module (guix utils)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages package-management)
@@ -137,7 +138,7 @@ for MySQL.")
(inputs
(list guile-3.0 guile3-dbi guile3-dbd-mysql guile-fibers guile-gnutls guile-readline
guile-commonmark guile-redis openssl nss-certs gemma parallel guile-hashing
- guile-json-4 bash-minimal))
+ guile-json-4 bash-minimal git-minimal))
(arguments
(list
#:not-compiled-file-regexp "(guix|guix/.*)[.]scm$"
@@ -147,6 +148,11 @@ for MySQL.")
(guix build utils))
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-git
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((git (assoc-ref inputs "git-minimal")))
+ (substitute* "web/view/markdown.scm"
+ (("\"git\"") (string-append git "/bin/git"))))))
(add-after 'build 'install-script
(lambda* _
(let* ((bash #$(this-package-input "bash-minimal"))