GNU bug report logs -
#53915
No way of replacing an input in modify-input syntax structure but keep all the outputs
Previous Next
Reported by: Gordon Quad <gordon <at> niflheim.info>
Date: Thu, 10 Feb 2022 10:10:02 UTC
Severity: important
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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.
This bug report was last modified 3 years and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.