all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "宋文武 via Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org>
To: Bodertz <bodertz@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: How to remove output from inherited package?
Date: Fri, 27 Dec 2024 10:03:11 +0800	[thread overview]
Message-ID: <87jzblevc0.fsf@envs.net> (raw)
In-Reply-To: <87jzbnjg19.fsf@gmail.com> (bodertz@gmail.com's message of "Wed,  25 Dec 2024 20:10:10 -0700")

Bodertz <bodertz@gmail.com> writes:

> In trying to create a transmission-qt package, I inherit from
> transmission
> [...]
> When I uncomment the ;; outputs '("out")) line from my package
> definition, I expected that it would only create the ordinary :out
> output, but instead, I get this error:
>
>     $ guix build transmission-qt
>     [...]
>     builder for `/gnu/store/026fwjchyis1x99iqsgliqga284wydbc-transmission-qt-4.0.6.drv' failed to produce output path `/gnu/store/v331nyi7kqg4gi432gvhz1c719n8x7xf-transmission-qt-4.0.6-gui'
>
>
> Is there a way to avoid the attempt to create a :gui output?

I think you should not reuse phases from transmisison, the error came
from '#$phases', which has reference to 'gui' output.  so:

  ...
  (inherit transmission)
  (name "transmission-qt")
  (outputs '("out")
  (arguments
    (list ...))   ; instead of 'substitute-keyword-arguments'
  ...



  reply	other threads:[~2024-12-27  2:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-26  3:10 How to remove output from inherited package? Bodertz
2024-12-27  2:03 ` 宋文武 via Development of GNU Guix and the GNU System distribution. [this message]
2024-12-27  4:52   ` Bodertz
2024-12-27  6:55     ` Bodertz
2024-12-27  7:34     ` 宋文武 via Development of GNU Guix and the GNU System distribution.

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=87jzblevc0.fsf@envs.net \
    --to=guix-devel@gnu.org \
    --cc=bodertz@gmail.com \
    --cc=iyzsong@envs.net \
    /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.