guix-guile-example icon indicating copy to clipboard operation
guix-guile-example copied to clipboard

"List of pairs" style for *-inputs fields is deprecated

Open danielittlewood0 opened this issue 6 months ago • 0 comments

First of all, thanks so much for creating this repo - I probably would never have managed to package my guile project without finding it (Autotools is hell...)

Anyway, your example repo uses a deprecated style for specifying dependencies:

  (native-inputs
   `(("pkg-config" ,pkg-config)
     ("cmake" ,cmake)))
  (inputs
   `(("guile-3.0" ,guile-3.0)))

the modern style, I think, is

(native-inputs (list pkg-config cmake))
(input (list guile-3.0))

danielittlewood0 avatar Jun 18 '25 09:06 danielittlewood0