16 Jun 2023 |
ckie (they/them) | srasu, Asbjørn: there was a hiccup with a recent PR breaking flake-compat support causing that evil-collection error, fixed here, happy hacking 💜 | 23:49:09 |
ckie (they/them) | also you may want to pin your nix-doom-emacs version, there's docs for that | 23:51:11 |
A2 | That's awesome! Thanks a bunch | 23:51:00 |
ckie (they/them) | yw! | 23:52:16 |
17 Jun 2023 |
| sy joined the room. | 06:44:19 |
18 Jun 2023 |
JoelMcCracken | been digging into the problem of nix-straight.el not installing the versions of packaged pinned by doom itself, and I added a emacs packages overlay w/ the specified version of a specific package, and that seems to be working, however I'm running into a new issue where I think what is happening is nix-straight is effecively ignoring the :files attribute here: https://github.com/doomemacs/doomemacs/blob/3853dff5e11655e858d0bfae64b70cb12ef685ac/modules/completion/vertico/packages.el#L4-L7 | 20:12:46 |
JoelMcCracken | so I suspect that I could fix this by updating the code here https://github.com/nix-community/nix-straight.el/blob/master/setup.el#L29-L31 so that it includes any :files attributes, but i'm not sure. Any ideas? I'd really appreciate some input, i'm still not very good at nix (though I am reasonably competent at emacs lisp) | 20:14:22 |
19 Jun 2023 |
| bascht ⚡️ joined the room. | 13:49:27 |
JoelMcCracken | so... after debugging even more, I have no idea what is going on. It seems like a lot of what nix-straight does, well, it actually doesn't do. I feel like perhaps there have been regressions | 19:24:42 |
JoelMcCracken | I'd be willing to try to help maintain nix-doom-emacs; seems like i'm digging into it anyway | 20:09:44 |
ckie (they/them) | JoelMcCracken: yes please! | 22:39:28 |
ckie (they/them) | and yeah it indeed just doesn't do a lot of the useful things to do | 22:39:48 |
ckie (they/them) | i previously wrote about it here — it's a pinned issue but NDE has been working well-enough for me so it just hasn't managed to grab my focus with everything else being ~more urgent | 22:42:06 |
ckie (they/them) | i'd be happy to pair with you (or anyone else around here) on the whole locking mechanism thing, i can spin up a nixos box on GCP and get a doom emacs there which should be good enough. the vsc live share is atrocious if you have some latency | 22:50:34 |
ckie (they/them) | * i'd be happy to pair with you (or anyone else around here) on the whole locking mechanism thing, i can spin up a nixos box on GCP and get a doom emacs there which should be good enough. vsc live share is atrocious if you have some latency | 22:50:40 |
ckie (they/them) | * also, if you want, i'd be happy to pair with you (or anyone else around here) on the whole locking mechanism thing, i can spin up a nixos box on GCP and get a doom emacs there which should be good enough. vsc live share is atrocious if you have some latency | 22:51:49 |
ckie (they/them) | UTC 1pm-11pm is good | 22:51:51 |
20 Jun 2023 |
JoelMcCracken | thanks! I may take you up on that, let me get back to you | 14:09:23 |
hdzki ⚡️ | In reply to@j4:matrix.org rabil95219: If you're interested (like I do) in getting a similar config on two different computers w/ Nix, this is what I do. (There may be other way of doing it but well, mine works well for now). I fix the doomemacs version via home.file.".emacs.d".source = pkgs.fetchFromGitHub... . This also needs variables (session wide for instance via systemd.user.sessionVariables DOOMLOCALDIR = "$HOME/.local/share/doomemacs"; and DOOMPROFILELOADFILE = "$HOME/.local/share/doomemacs/profiles/load.el"; You need to change this because by default doom & some emacs packages expect to be able to write in .emacs.d. Afterwards, my repo setup symlinks my emacs config between my git repo and .doom.d to get the same config. :) Sorry for necroposting, but for the last point. How do you refer to your git repo without hardcoding in the path? Using standard ./path notation in Nix will symlink from the nix store | 21:32:42 |
j4m3s | I have a kind of setup script in my repo that I use to ln -sf outside of Nix basically | 21:33:37 |
hdzki ⚡️ | Oh so a shell script. I thought you found a way to do it in nix 😅 | 21:34:40 |
hdzki ⚡️ | I could probably afford hardcoding git repo location since it's consistent in all of my machines | 21:35:12 |
hdzki ⚡️ | How do you deal with extra config stuff then? Write out a file and load it in config.el ? | 21:35:40 |
j4m3s | wdym by extra config ? | 21:36:31 |
hdzki ⚡️ | * How do you deal with extra config stuff then? Write out a file and load it in config.el ? I'm asking because i used to have a setup like this with NDE extraConfig = ''
(setq exec-path (append exec-path '( ${
pkgs.lib.concatMapStringsSep " " (x: ''"${x}/bin"'') extraBins
} )))
(setenv "PATH" (concat (getenv "PATH") ":${
pkgs.lib.concatMapStringsSep ":" (x: "${x}/bin") extraBins
}"))
'; | 21:36:34 |
j4m3s | Ooh err, currently I'm not doing this | 21:37:02 |
hdzki ⚡️ | In reply to@j4:matrix.org wdym by extra config ? I used to use the extraConfig option to pass in store paths and for doom emacs for stuff such as parinfer and co | 21:37:12 |
j4m3s | But I guess I woud symlink something from the nix store with home-manager as well | 21:37:16 |
hdzki ⚡️ | In reply to@j4:matrix.org wdym by extra config ? * I used to use the extraConfig option to pass in store paths and for doom emacs for stuff such as parinfer and co which by default download exec on first run | 21:37:22 |
j4m3s | It it's just runtime path of your emacs, can't you wrap your emacs and provide your own derivation ? (to programs.emacs or w/e else you use) | 21:38:00 |