unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Request: build package with source tarball
@ 2022-09-12  1:04 Ryan Prior
  2022-09-12  1:29 ` Olivier Dion via Development of GNU Guix and the GNU System distribution.
  2022-09-12  8:59 ` Maxime Devos
  0 siblings, 2 replies; 4+ messages in thread
From: Ryan Prior @ 2022-09-12  1:04 UTC (permalink / raw)
  To: Guix Devel

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

Hi there! Lately I've been testing distribution tarballs with a workflow like this:

- update some software in my source directory
- create a distribution tarball
- untar to a directory like /tmp/mypkg-src
- run: guix build --with-source=mypkg=/tmp/mypkg-src​

It would be nice to skip step 3 there and just run: guix build --with-source=mypkg.tar.gz​
Guix should then untar and use the result as the source directory for the build.

To soup the process up even further, allow --with-source​ to take a URL of a tarball, in which case Guix fetches and untars. Then I could write a trivial local microservice which produces distribution tarballs on demand, allowing me to skip both steps 2 and 3. That would be a sweet workflow.

Ryan

[-- Attachment #2: Type: text/html, Size: 1487 bytes --]

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

end of thread, other threads:[~2022-09-12  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12  1:04 Request: build package with source tarball Ryan Prior
2022-09-12  1:29 ` Olivier Dion via Development of GNU Guix and the GNU System distribution.
2022-09-12  1:35   ` Ryan Prior
2022-09-12  8:59 ` Maxime Devos

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).