all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ryan Prior <rprior@protonmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: Request: build package with source tarball
Date: Mon, 12 Sep 2022 01:04:48 +0000	[thread overview]
Message-ID: <SyzAJwILmcGTAir5vMOzjCqaVfNmiFOt8MYZN_3D2sRYCdbHUwb8XlNgbeDPntOxgJR-8t-xwvc9Eica6U4NM5RfGVe_0CZC2Ub8nvsN_Oc=@protonmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2022-09-12  1:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-12  1:04 Ryan Prior [this message]
2022-09-12  1:29 ` Request: build package with source tarball 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='SyzAJwILmcGTAir5vMOzjCqaVfNmiFOt8MYZN_3D2sRYCdbHUwb8XlNgbeDPntOxgJR-8t-xwvc9Eica6U4NM5RfGVe_0CZC2Ub8nvsN_Oc=@protonmail.com' \
    --to=rprior@protonmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.