From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2KdeAzZG1l6lbAAA0tVLHw (envelope-from ) for ; Tue, 02 Jun 2020 12:29:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4CXYOjVG1l4RJQAA1q6Kng (envelope-from ) for ; Tue, 02 Jun 2020 12:29:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 633A694050F for ; Tue, 2 Jun 2020 12:29:41 +0000 (UTC) Received: from localhost ([::1]:39756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jg632-0001Hx-Ah for larch@yhetil.org; Tue, 02 Jun 2020 08:29:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg62n-0001HG-R6 for guix-devel@gnu.org; Tue, 02 Jun 2020 08:29:26 -0400 Received: from smtp.hosts.co.uk ([85.233.160.19]:23669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg62l-00076W-QP for guix-devel@gnu.org; Tue, 02 Jun 2020 08:29:25 -0400 Received: from [79.123.23.187] (helo=pancake.local) by smtp.hosts.co.uk with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) (envelope-from ) id 1jg62f-0006tA-9W; Tue, 02 Jun 2020 13:29:18 +0100 Message-ID: Subject: Re: 01/03: gnu: ikiwiki: Revert to standard wrapper. From: Paul Garlick To: Christopher Baines Date: Tue, 02 Jun 2020 13:29:14 +0100 In-Reply-To: <87mu5l50r8.fsf@cbaines.net> References: <20200601191735.15328.13392@vcs0.savannah.gnu.org> <20200601191737.45A2520A26@vcs0.savannah.gnu.org> <87o8q150wx.fsf@cbaines.net> <87mu5l50r8.fsf@cbaines.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=85.233.160.19; envelope-from=pgarlick@tourbillion-technology.com; helo=smtp.hosts.co.uk X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/02 08:29:18 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: Ti72yvL0j84Z 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.