!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

747 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay | For Doom Emacs: https://matrix.to/#/#doom-emacs:nixos.org169 Servers

Load older messages


SenderMessageTime
4 Sep 2024
@antifuchs:conduit.asf.computerantifuchs ⚡️ joined the room.18:17:00
@antifuchs:asf.computerantifuchs changed their display name from antifuchs to antifuchs ⚡️.18:49:11
@antifuchs:asf.computerantifuchs changed their display name from antifuchs ⚡️ to antifuchs.19:01:46
5 Sep 2024
@evil-neo:matrix.org[🇳 🇪 🇴] changed their display name from display_service to [NEO].04:12:03
@evil-neo:matrix.org[🇳 🇪 🇴] set a profile picture.04:13:20
@antifuchs:asf.computerantifuchs left the room.13:59:11
@antifuchs:asf.computerantifuchs joined the room.14:34:04
@aruzeta:matrix.org@aruzeta:matrix.org left the room.18:12:25
6 Sep 2024
@skeuchel:matrix.org@skeuchel:matrix.org left the room.05:26:14
@dpom:matrix.orgdpom joined the room.12:29:44
@qbit:tapenet.orgqbitwasn't there an option in emacs-overlay to include extra packages (non-emacs packages)?13:43:19
@qbit:tapenet.orgqbit emacsDepList! 13:44:26
@qbit:tapenet.orgqbiter, no13:44:43
@qbit:tapenet.orgqbitlooks like in the past I was wrapProgram'ing 13:45:07
@qbit:tapenet.orgqbitmaybe I am mistaken :D13:45:11
@qbit:tapenet.orgqbitseems like it would be handy to have a knob to tie in extra things like texlive13:47:13
@antifuchs:asf.computerantifuchsI generate an elisp file containing a symlinkJoin’ed store path that my init file adds to executable-path. Works decently well, especially with a little script for running a program in that same path, for debugging (:14:32:55
@qbit:tapenet.orgqbitoh nice14:52:19
@qbit:tapenet.orgqbithow are you including the elisp file?14:56:35
@qbit:tapenet.orgqbiti had a wrapped init for a bit there but i found various issues with things trying to write site-lisp inside the nix store14:57:24
@antifuchs:asf.computerantifuchs

I use this (where emacsExecPath is that symlinkJoined thing):

    earlyInit = pkgs.substituteAll {
      name = "early-init.org";
      src = ./early-init.org;
      emacsExecPath = "${emacsExecPath}/bin";
    };
18:39:01
@antifuchs:asf.computerantifuchs

and in early-init.org,

  (let ((new-exec-path (nconc
                        (list
                         "@emacsExecPath@"
                         "/run/current-system/sw/bin"
                         "/usr/local/bin"
                         (concat (getenv "HOME") "/.nix-profile/bin")
                         (concat (getenv "HOME") "/go/bin")
                         (concat (getenv "HOME") "/.cargo/bin"))
                         exec-path)))
    (setq exec-path new-exec-path)
    (setenv "PATH" (mapconcat 'identity exec-path ":")))
18:39:37
@antifuchs:asf.computerantifuchs(several of those paths could get trimmed) (:18:39:58
@antifuchs:asf.computerantifuchs(there's a bunch of additional machinery to my build process that I didn't want to paste here, but I hope that gets the idea across)18:41:13
7 Sep 2024
@lunik1:lunik.onelunik1 changed their profile picture.01:45:59
@spinner:matrix.org@spinner:matrix.org left the room.17:19:37
8 Sep 2024
@evil-neo:matrix.org[🇳 🇪 🇴] changed their display name from [NEO] to [NEO🧿].05:46:19
@evil-neo:matrix.org[🇳 🇪 🇴] changed their display name from [NEO🧿] to [🇳 🇪 🇴].05:46:59
@duanin2:duanin2.topDuanin2 joined the room.14:48:10
@ezzobirbezziou:matrix.orgEzzobir Bezziouhello friends 22:16:12

Show newer messages


Back to Room ListRoom Version: 6