unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53915: No way of replacing an input in modify-input syntax structure but keep all the outputs
@ 2022-02-10 10:09 Gordon Quad via Bug reports for GNU Guix
  2022-02-10 20:03 ` Liliana Marie Prikler
  2022-03-08 16:11 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Gordon Quad via Bug reports for GNU Guix @ 2022-02-10 10:09 UTC (permalink / raw)
  To: 53915

poppler package include glib as a native-input with "bin" output.

If I am doing the following:

(package/inherit poppler
    (native-inputs
        (modify-inputs (package-native-inputs poppler)
            (replace "glib" my-glib))))

poppler's build will fail becuase replace syntax will replace "glib"
package erasing its outputs. I can specify output explicitly by doing
(replace "glib" (my-glib "bin")) in this case, but that makes mass input
modification difficult (e.g. if i want to replace all instances of glib
to my-glib).

That said there is a value in having such behaviour for replace syntax
in case for example if I replace package with my own version that has no
extra outputs, so it would be nice to have both options available.




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

end of thread, other threads:[~2022-03-16 15:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 10:09 bug#53915: No way of replacing an input in modify-input syntax structure but keep all the outputs Gordon Quad via Bug reports for GNU Guix
2022-02-10 20:03 ` Liliana Marie Prikler
2022-02-11 10:26   ` Gordon Quad via Bug reports for GNU Guix
2022-03-08 16:11 ` Ludovic Courtès
2022-03-08 20:28   ` Liliana Marie Prikler
2022-03-16 14:53     ` Ludovic Courtès

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