From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#31210: Perl graft breakage Date: Thu, 19 Apr 2018 07:57:32 -0400 Message-ID: <87a7tzjtn7.fsf@netris.org> References: <20180415153405.5973-1-mbakke@fastmail.com> <20180418180850.GA11245@jasmine.lan> <87muy0iaxm.fsf@netris.org> <20180418205236.GA26365@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f98DS-0004LH-VP for bug-guix@gnu.org; Thu, 19 Apr 2018 07:59:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f98DP-0003q0-NS for bug-guix@gnu.org; Thu, 19 Apr 2018 07:59:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52266) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f98DP-0003pm-KE for bug-guix@gnu.org; Thu, 19 Apr 2018 07:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f98DP-0004eh-8m for bug-guix@gnu.org; Thu, 19 Apr 2018 07:59:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180418205236.GA26365@jasmine.lan> (Leo Famulari's message of "Wed, 18 Apr 2018 16:52:36 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 31210@debbugs.gnu.org Hi Leo, One more thing: Leo Famulari writes: > + (add-after 'install 'workaround-grafting-version-bug > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (new (string-append out "/lib/perl5/5.26.2")) > + (old (string-append out "/lib/perl5/5.26.1"))) > + (symlink new old) > + #t))))))))) It would be better for 'new' to be simply "5.26.2" instead of an absolute file name. If I'm not mistaken, on ext4, files (including symlinks) smaller than 60 bytes are stored entirely within the inode, saving both a disk block and a seek operation when accessing it. Mark