···4242;;; Set up native-comp load path.
4343(when (featurep 'native-compile)
4444 ;; Append native-comp subdirectories from `NIX_PROFILES'.
4545+ ;; Emacs writes asynchronous native-compilation files to the first writable directory[1].
4646+ ;; At this time, (car native-comp-eln-load-path) is a writable one in `user-emacs-directory'[2].
4747+ ;; So we keep that one unchanged.
4848+ ;; [1]: info "(elisp) Native-Compilation Variables"
4949+ ;; [2]: https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/startup.el?id=3685387e609753293c4518be75e77c659c3b2d8d#n601
4550 (setq native-comp-eln-load-path
4646- (append (mapcar (lambda (profile-dir)
5151+ (append (list (car native-comp-eln-load-path))
5252+ (mapcar (lambda (profile-dir)
4753 (concat profile-dir "/share/emacs/native-lisp/"))
4854 (nix--profile-paths))
4949- native-comp-eln-load-path)))
5555+ (cdr native-comp-eln-load-path))))
50565157;;; Make `woman' find the man pages
5258(defvar woman-manpath)