unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Making local development easy
@ 2016-05-24 18:25 Christopher Baines
  2016-05-25  8:23 ` Alex Sassmannshausen
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Christopher Baines @ 2016-05-24 18:25 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 1583 bytes --]

Today I had a go at writing a dummy python library, and packaging it,
and then installing it within an environment, with the aim of
experimenting more with how Guix works, and to explore how Guix can be
used as a developer (with unpublished local packages).

There were several slight issues with this, but I got some help on IRC
to work around these.

The first, is that the hash is required, which I only had to compute
once, but if I wanted to change the package, I would have to update
this, which is prohibitive to local development. As an improvement to
this, could the hash be optional, and if it does not exist, be
calculated when the build is performed?

The second issue was getting the data to the store, as first I tried a
relative path, but that did not work, and ended up having to expose the
repository using a HTTP server, and access it over the loopback
interface. This again is rather prohibitive to local development. To
improve on this, could guix build do the insertion in to the store, such
that relative paths would work? This would allow just writing a
"guix.scm" file, which just uses (git-reference (url "./") (commit "HEAD")).

I'm not sure how this use case is perceived, but it seems to me that
supporting supporting use of Guix locally would be helpful, both in
terms of helping users just get things done, and supporting those who
also wish to contribute to Guix.

Any thoughts on this? I'm still learning about all of the Guix
internals, so I'm not sure how feasible the changes I mention above are.

Thanks,

Chris


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

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

end of thread, other threads:[~2016-06-21  8:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 18:25 Making local development easy Christopher Baines
2016-05-25  8:23 ` Alex Sassmannshausen
2016-05-25 15:48   ` Christopher Baines
2016-05-25 16:13   ` Leo Famulari
2016-05-25  9:29 ` Ricardo Wurmus
2016-05-25  9:34   ` Alex Sassmannshausen
2016-05-25 16:04   ` Christopher Baines
2016-05-25 18:33     ` Ricardo Wurmus
2016-05-26  8:07       ` Ludovic Courtès
2016-05-26 12:05         ` Thompson, David
2016-06-21  8:43           ` Ludovic Courtès
2016-05-25  9:36 ` Andy Wingo

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).