Ludovic Courtès <[email protected]> writes: > Jan Nieuwenhuizen <[email protected]> skribis: > >> Ricardo Wurmus writes: > > [...] > >>> ;; Boilerplate code to turn the above list of packages into a manifest >>> (use-modules (gnu packages)) >>> (packages->manifest (map (compose list specification->package+output) >>> packages)) >> >> Yes, I finally found this and it is not very friendly/discoverable. > > Agreed. How about making these two changes: > > 1. Include (gnu packages) in the default evaluation environment of > manifests. > > 2. (define (package-specifications->manifest specs) > (packages->manifest (map (compose list specification->package+output) > specs))) > > Thoughts?
This sounds like a very useful improvement to me. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net
