From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Patch-shebangs phase and created binaries Date: Sun, 2 Nov 2014 18:48:27 +0100 Message-ID: <20141102174827.GE6865@debian> References: <20141030124534.GB6721@debian.eduroam.u-bordeaux.fr> <87lhntpmq6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkzGe-0006pV-Gu for guix-devel@gnu.org; Sun, 02 Nov 2014 12:48:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkzGY-0007rn-90 for guix-devel@gnu.org; Sun, 02 Nov 2014 12:48:44 -0500 Content-Disposition: inline In-Reply-To: <87lhntpmq6.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: guix-devel@gnu.org On Sun, Nov 02, 2014 at 05:54:09PM +0100, Ludovic Courtès wrote: > Andreas Enge skribis: > > should the final patch-shebangs phase not include the generated output > > path (well, the bin subdirectory) in its $PATH? > It already does. Hm. > > The file starts with > > #!/usr/bin/env texlua > > and texlua is a binary created in the texlive output (actually, bin/texlua is > > a symbolic link to the elf binary bin/luatex). > Could it be that the symlink doesn’t exist yet at the time the > ‘patch-shebangs’ phase runs? I think it already exists; the only thing between patch-shebangs and strip is (setenv "PATH" (string-append (getenv "PATH") ":" out "/bin")) (system* "updmap-sys" "--nohash" "--syncwithtrees") (system* "mktexlsr") (system* "fmtutil-sys" "--all"))) Andreas