Proposal for search-input-file

2023-08-10 Thread (
Hello Guix, While the nicest way to search for files or directories in Guix build phases is SEARCH-INPUT-FILE or SEARCH-INPUT-DIRECTORY: (search-input-file inputs "bin/foobarbaz") (search-input-directory inputs "share/foobarbaz-state") there are many situations where you need to either wra

Re: The package/inherit trap

2023-08-10 Thread Mark H Weaver
Hi, Maxim Cournoyer writes: > Mark H Weaver writes: > >> Simon Tournier writes: >>> and in the light of this discussion, 5f83dd03a2 seems incorrect, no? >> >> I agree that commit 5f83dd03a2 is incorrect. 'kodi/wayland' is quite >> clearly a case where 'package/inherit' should be used. > > Wou

Re: The package/inherit trap

2023-08-10 Thread Mark H Weaver
Hello again, I made a mistake in my previous message. Earlier, I wrote: > Consider 'kodi/wayland' as an example: > > __ (define-public kodi/wayland > (package > __ (inherit kodi) > __ (name "kodi-wayland") > __ (arguments > ___ (substitute-keyword-arguments (package-arguments