[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31210: Perl graft breakage
From: |
Mark H Weaver |
Subject: |
bug#31210: Perl graft breakage |
Date: |
Thu, 19 Apr 2018 07:57:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi Leo,
One more thing:
Leo Famulari <address@hidden> 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
bug#31210: Perl graft breakage, Mark H Weaver, 2018/04/21