<table><tr><td style="">vandenoever added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D18456">View Revision</a></tr></table><br /><div><div><p>On NixOS, all executables are under <tt style="background: #ebebeb; font-size: 13px;">/nix/store/$HASH-$NAME/bin</tt>. These get linked into the <tt style="background: #ebebeb; font-size: 13px;">PATH</tt>. Seeing that Akonadi was not respecting <tt style="background: #ebebeb; font-size: 13px;">PATH</tt> previously I wonder how it could work there.<br />
So I checked <a href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/kde/akonadi/akonadi-paths.patch" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/kde/akonadi/akonadi-paths.patch</a></p>

<p>There the paths are hardcoded. I think after this lands the NixOS patch can be simplified, although the hard-coding gives a faster startup.</p>

<p>Patch looks elegant to me.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18456">https://phabricator.kde.org/D18456</a></div></div><br /><div><strong>To: </strong>sitter, dvratil<br /><strong>Cc: </strong>vandenoever, kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>