From eb6ac8d41ae178b3147165a00882d37e40951cbc Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 14 Jun 2022 14:30:14 +0530 Subject: Reassure git that the gn-gemtext-threads source directory is safe. * genenetwork/development-helper.scm (tissue-website-gexp): Reassure git that the gn-gemtext-threads source directory is safe. * genenetwork-development.scm (gn-gemtext-threads-website): Add git-minimal to manifest. --- genenetwork/development-helper.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'genenetwork') diff --git a/genenetwork/development-helper.scm b/genenetwork/development-helper.scm index e8364ef..d2d905b 100644 --- a/genenetwork/development-helper.scm +++ b/genenetwork/development-helper.scm @@ -156,4 +156,10 @@ 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))))) -- cgit v1.2.3