diff options
-rw-r--r-- | gn/packages/guile.scm | 8 |
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")) |