bug#71941: Broken `map-derivation' procedure

2025-02-25 Thread Ludovic Courtès
Hi Sergio, Sergio Pastor Pérez skribis: > The `map-derivation` procedure was trying to process directories as files. > When a derivation had a 'module import' directory as input, it threw an > exception since it tried to open it as a file. > > Change-Id: I9b766f9aaa03ea9307f73e8abb36bc347af4b5e6

bug#71941: Broken `map-derivation' procedure

2025-02-25 Thread Ludovic Courtès
Sergio Pastor Pérez skribis: > Implement caching to speed up computation. > > Change-Id: I186e2a62f6655e3b0738dd6e0f628faccd8b855e Nice! > + (let ((cached-drv (hash-ref computed-drvs drv))) > +(if cached-drv > +cached-drv > +(let* ((inputs (map (cut re

bug#71941: Broken `map-derivation' procedure

2024-07-04 Thread Sergio Pastor Pérez
Hello. The procedure `map-derivation` from `(guix derivations)` seems broken. Evaluating this yields an error, it probably shouldn't: --8<---cut here---start->8--- scheme@(guix-user)> (use-modules (guix) (guix derivations)