about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2022-06-29 16:41:06 +0530
committerArun Isaac2022-06-29 16:41:06 +0530
commit259c84df610731fae4e1454a6c1698a4830ee7b6 (patch)
treecf9c5a272ab593019b97672594e8c01851e3d213
parent6131773464df7dca4b666f7311a207b86f625c72 (diff)
downloadgn-machines-259c84df610731fae4e1454a6c1698a4830ee7b6.tar.gz
Remove tissue's dependence on the git CLI tool.
tissue now uses libgit2 through guile-git and does not use the git CLI
tool.

* genenetwork-development.scm (gn-gemtext-threads-website): Remove
git-minimal from manifest.
* genenetwork/development-helper.scm (tissue-website-gexp): Remove
reassurance to git.
-rw-r--r--genenetwork-development.scm2
-rw-r--r--genenetwork/development-helper.scm6
2 files changed, 1 insertions, 7 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 4ef09ca..36c1f50 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -638,7 +638,7 @@ command to be executed."
                                        tissue-website-gexp)
                                    source-checkout
                                    #$(profile
-                                      (content (packages->manifest (list git-minimal tissue)))
+                                      (content (packages->manifest (list tissue)))
                                       (allow-collisions? #t)))))
                             #:guix-daemon-uri %guix-daemon-uri
                             #:deep-clone? #t)))))
diff --git a/genenetwork/development-helper.scm b/genenetwork/development-helper.scm
index d2d905b..e8364ef 100644
--- a/genenetwork/development-helper.scm
+++ b/genenetwork/development-helper.scm
@@ -156,10 +156,4 @@ SOURCE. PROFILE is a profile with necessary dependencies."
           (use-modules (guix build utils))
 
           (chdir #$source)
-          ;; Set HOME so that we can write to ~/.gitconfig.
-          (setenv "HOME" "/tmp")
-          ;; The source directory is owned by root, and not the
-          ;; laminar user. So, we need to reassure git that it is
-          ;; safe.
-          (invoke "git" "config" "--global" "--add" "safe.directory" #$source)
           (invoke "tissue" "web" #$output)))))