Hello, ludo@gnu.org (Ludovic Courtès) writes: > Mathieu Lirzin skribis: > >> Christopher Allan Webber writes: >> >>> 8sync now uses `git-file?' in its guix.scm, a predicate check which >>> allows for checking out the whole local directory as a "source" for >>> testing a package. I borrowed it from Dave who originally adapted >>> it from some code in Guix itself. See: >>> >>> http://git.savannah.gnu.org/cgit/8sync.git/tree/guix.scm#n62 >>> >>> This is pretty handy; probably other projects would like to make use of >>> it. What do we think of making it a generally available utility? >> >> I would make use of it and I am in favour of adding it to Guix. > > I think it comes from ‘current-guix’ in package-management.scm, and yes, > we should probably make it public. > > Would someone like to submit a patch? The most difficult issue is > finding in file in which to store it. ;-) Maybe git-download.scm? Here is a patch renaming 'make-git-predicate' to 'git-predicate' and moving it to (guix git-download).