all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: help-guix@gnu.org
Subject: Command for printing derivations that will be built?
Date: Tue, 9 May 2023 19:04:59 +0000	[thread overview]
Message-ID: <CAGxMbPa7y31QCEcbrALnWsLX0VjuP77VEyOqDwSTtn1D3_mrow@mail.gmail.com> (raw)

From what I understand in the output of `guix package -u' (see below),
whenever I execute it, some derivations that exist in `/gnu/store' are
passed to `guix build' and so they are built. Am I correct?

If I'm correct, I would like to know how I can print the list that is
reported by `guix package -u' below "The following derivations will be
built". I know I can execute `guix package -u' and press `C-c' in the
next 5 seconds. However, I'd like to do this the right way. That is,
write a command that only prints that list and does nothing more.

The reason I'm asking is because sometimes I want to build specific
derivations in order to have those packages advertised in my local
network in the order that I feel it's the best for me.

,----
| $ guix package -u
| The following packages will be upgraded:
|    (... list of packages ...)
|
| The following derivations will be built:
|    (... list of derivations in /gnu/store ...)
|
| building (... a derivation ...)
| - 'unpack' phase
`----

             reply	other threads:[~2023-05-09 19:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-09 19:04 Rodrigo Morales [this message]
2023-05-09 19:38 ` Command for printing derivations that will be built? Efraim Flashner

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=CAGxMbPa7y31QCEcbrALnWsLX0VjuP77VEyOqDwSTtn1D3_mrow@mail.gmail.com \
    --to=moralesrodrigo1100@gmail.com \
    --cc=help-guix@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.