all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* building from local (or private) git repository
@ 2019-07-08 15:52 Robert Vollmert
  2019-07-08 16:13 ` Pierre Langlois
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Vollmert @ 2019-07-08 15:52 UTC (permalink / raw)
  To: guix-devel

Hi all,

I realize this isn’t generally an aim for guix proper, but I’d like
to be able to build a package from a local git repository (or
optionally from a local tar ball). In my specific case, it’s while
working out the packaging of a project I intend to publish but
haven’t published yet.

What I have working so far uses local-file, as below:

(define-public puzzledb-tools
  (package
    (name "puzzledb-tools")
    (version "20190625-git")
    (source
      (local-file
        "/home/rob/puzzledb/tools"
        #:recursive? #t))
  …

That’s a bit annoying because it includes stale files that happen
to be in the directory, it doesn’t check the hash, etc. Using a
git origin with a local path doesn’t work for reasons I don’t
completely understand — I think it’s because the guix-daemon builds
in a namespace without access to the local filesystem. Perhaps there’s
a way to link the git repository into that namespace?

Any hints appreciated!

Robert

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-11 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-08 15:52 building from local (or private) git repository Robert Vollmert
2019-07-08 16:13 ` Pierre Langlois
2019-07-08 16:39 ` Marius Bakke
2019-07-11 16:20 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.