Brendan Tildesley schreef op zo 27-02-2022 om 02:37 [+0100]: > I got strange errors trying that and couldn't figure out how to make it work. > There are no examples of input-tuples->gexp being used in a package definition. > > This works: >  #~(list >          (string-append "-Dwith-usb-ids-path=" >                         (search-input-file %build-inputs "/share/hwdata/usb.ids")) >          (string-append "-Dwith-pci-ids-path=" >                         (search-input-file %build-inputs "/share/hwdata/pci.ids"))) > > I thought %build-inputs was not a recommended thing to use though? It is. Anyway, I found a solution, see attachement. Maybe the 'gexp-input-compiler' could be moved into (guix gexp) and 'this-package-input-list'/'this-package-native-input-list' could be moved into (guix packages) (+ documented in the manual)? CC'ing ludo for the proposed new gexpology. Greetings, Maxime.