Browse Source

git: Choose a saner default for '%repository-cache-directory'.

* guix/git.scm (%repository-cache-directory): Use 'cache-directory'
by default unless running as root.
wip-ipfs
Ludovic Courtès 4 years ago
parent
commit
e83b2b0fdd
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 3
      guix/git.scm

3
guix/git.scm

@ -36,7 +36,8 @@
latest-repository-commit))
(define %repository-cache-directory
(make-parameter "/var/cache/guix/checkouts"))
(make-parameter (string-append (cache-directory #:ensure? #f)
"/checkouts")))
(define-syntax-rule (with-libgit2 thunk ...)
(begin

Loading…
Cancel
Save