Oleg Pykhalov <go.wig...@gmail.com> writes: > Pierre Neidhardt <ambre...@gmail.com> writes: > >> I tried reusing your package snippet from >> http://lists.gnu.org/archive/html/help-guix/2017-09/msg00074.html by >> setting >> >> (url "git://localhost/~ambrevar/projects/emacs") > > I'm sorry for probably an obvious question. Does ‘git clone > git://localhost/~ambrevar/projects/emacs’ work? > > […] > >> I'm not very familiar with the "git" protocol: does it require some >> special configuration? > > It does, see > https://www.gnu.org/software/guix/manual/html_node/Version-Control-Services.html > > Be sure ‘user-path’ is setted correctly. > >> I also tried specifying a local path: >> >> (url "/home/ambrevar/projects/emacs") >> >> […] >> >> I think this is a bug: if git clone accepts local paths, then so should >> git-reference. > > It would be a useful feature, but I don't know all pitfalls. > > We can do ‘guix pull --url=$PWD’ in “Guix checkout” though.
Thank you for the hint. That said, I really don't want to set up a git server for so little. Is there a good reason not to allow local paths in git URLs? -- Pierre Neidhardt Every solution breeds new problems.
Description: PGP signature