Subject: bug#44701: 28.0.50; [feature/native-comp] Use file-truename when building eln path hash

From: Tad <[email-masked]>
Date: Wed, 18 Nov 2020 12:52:13 -0800

On Wed, Nov 18, 2020 at 9:54 AM Andrea Corallo <[email-masked]> wrote:
>
> Hi Tad,
>
> could you verify 3ae309bd59 fix the issue for you?

Yes, this is working now. Here's a transcript:

    (comp-el-to-eln-filename
"/nix/store/...-emacs-ace-window-20200606.1259/share/emacs/site-lisp/elpa/ace-window-20200606.1259/ace-window.el")
    "/home/tad/.emacs.d/eln-cache/28.0.50-x86_64-pc-linux-gnu-6462edf10bdf79d2b67bce57511338e8/ace-window-d01e56e26487b663b5932fdce1c8c623-99728e8187c8762dea4b86e75d14412a.eln"

    (comp-el-to-eln-filename
"/nix/store/...-emacs-packages-deps/share/emacs/site-lisp/elpa/ace-window-20200606.1259/ace-window.el")
    "/home/tad/.emacs.d/eln-cache/28.0.50-x86_64-pc-linux-gnu-6462edf10bdf79d2b67bce57511338e8/ace-window-d01e56e26487b663b5932fdce1c8c623-99728e8187c8762dea4b86e75d14412a.eln"

This makes it possible to load AOT-compiled .eln files from the Nix
store, so thank you for implementing this change.

> Thanks!
>   Andrea