On Wed, Jun 08, 2016 at 05:37:26PM -0300, David Pirotte wrote: > Hello Patrick, > > > ... > > + (modify-phases %standard-phases > > + (add-before 'configure 'pre-configure > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let ((out (assoc-ref outputs "out"))) > > + (substitute* (find-files "." "^Makefile.in$") > > + (("guilemoduledir =.*guile/site" all) > > + (string-append all "/2.0"))) > > + #t)))))) > > ... > > Just curious: why do you (string-append all "/2.0")? Is this a guix guideline > maybe? > > IMO, G-wrap, Guile-Cairo and Guile-Gnome should all be installed in the > directory returned by (%global-site-dir) > > Cheers, > David
`guilemoduledir =.*guile/site' is saved in the variable `all' and then used in the second half of the substitute*. I have a similar one I wrote for aria2 in bittorrent.scm -- Efraim Flashner <efr...@flashner.co.il> אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature