guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 01/03: gnu: ikiwiki: Revert to standard wrapper.


From: Paul Garlick
Subject: Re: 01/03: gnu: ikiwiki: Revert to standard wrapper.
Date: Tue, 02 Jun 2020 13:29:14 +0100

Hi Chris,

> I don't think there was ever a bug report for this, but I think I've
> found the IRC conversation for context:
> 
>   http://logs.guix.gnu.org/guix/2017-10-17.log#203630

Thank you for this link and taking a look at this patch.

I have been adding the missing inputs to ikiwiki.  In the process I
noticed that the cgi script needs a way of finding the perl
dependencies.  The Debian way of packaging the perl modules allows
ikiwiki to see its dependencies immediately.  In Guix, as you said, it
needs some help via PERL5LIB.

In using ikiwiki I found that I needed to add the PERL5LIB variable to
the setup file anyway, so that the cgi script can see extra modules
that are not needed at build time.  In my setup file there is an 'ENV'
section which contains: 

PERL5LIB: /home/paul/.guix-profile/lib/perl5/site_perl

This means that there is no need to have PERL5LIB in the wrapper. 
Instead the dependencies can be propagated in the normal way.  This
fits in with the PREREQ_PM section of ikiwiki's Makefile.PL.

So far,everything I have tested works as expected.  After the latest
commit 
e642f78f2eaf1d53d656ff3cd86d4dd186e8eb52 all the main tests pass.

Best regards,

Paul.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]