guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to remove output from inherited package?


From: 宋文武
Subject: Re: How to remove output from inherited package?
Date: Fri, 27 Dec 2024 10:03:11 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]