!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.org170 Servers

Load older messages


SenderMessageTime
25 May 2024
@mrtni:matrix.orgmrtni changed their display name from mrtni to grrtsn.19:10:24
@mrtni:matrix.orgmrtni changed their display name from grrtsn to mrtni.19:10:49
26 May 2024
@ngn999:matrix.orgngnHow to set a custom icon? like they do in Emacs-mac, Emacs-plus.02:08:18
28 May 2024
@ann4n:matrix.organnan joined the room.23:33:17
29 May 2024
@qbit:tapenet.orgqbit when exposing packages to emacs .. is it advised to do $thing.withPackages to expose stuff like LSPs? or just add them straight away? 14:50:40
@qbit:tapenet.orgqbit
emacsWithPackagesFromUsePackage {
  config = ./emacs.org;

  alwaysEnsure = true;
  alwaysTangle = true;

  package = emacsPkg.overrideAttrs (oa: {
    nativeBuildInputs = oa.nativeBuildInputs ++ [ makeWrapper emacsConfig ];
    postInstall = ''
      ${oa.postInstall}
      wrapProgram $out/bin/emacs \
        --prefix PATH : ${pkgs.lib.makeBinPath emacsDepList} \
        --add-flags '--init-directory ${emacsInitDir}'
    '';
  });
14:50:59
@qbit:tapenet.orgqbit basically that, but where emacsDepList is an [] of pkgs 14:51:15
@bandithedoge:matrix.orgbandithedoge
In reply to @qbit:tapenet.org
when exposing packages to emacs .. is it advised to do $thing.withPackages to expose stuff like LSPs? or just add them straight away?
just add them to your system/home packages
16:58:07
@qbit:tapenet.orgqbithmm17:11:12
@sako:catgirl.cloud@sako:catgirl.cloud removed their profile picture.18:27:45
@sako:catgirl.cloud@sako:catgirl.cloud removed their display name sako.18:27:54
@sako:catgirl.cloud@sako:catgirl.cloud left the room.18:28:09
30 May 2024
@axeman:pub.solarAkshay changed their display name from Akshay to Akshay (☎️ PUNE).15:44:31
@trexd:matrix.org@trexd:matrix.org

Has anyone gotten all-the-icons to work properly on their emacs setup? I have the fonts installed at:

  fonts.packages = with pkgs; [
    emacs-all-the-icons-fonts
    fira-code
    fira-code-symbols
    siji
    noto-fonts-emoji
    nerdfonts
  ];

20:10:29
@trexd:matrix.org@trexd:matrix.org Fixed it by moving everything with setq under :custom 21:30:35
31 May 2024
@dumac:matrix.org@dumac:matrix.org joined the room.02:42:26
@pyrox:pyrox.devPyrox [Fox/It/She] changed their display name from Pyrox [It/She/They] to Pyrox [Fox/It/She/They].18:29:56
@pyrox:pyrox.devPyrox [Fox/It/She] changed their profile picture.18:30:07
@gilganix:matrix.orgMist

How do I pull emacs packages from nix overlay properly? Because I seem to be getting the older version of telega (somehow) and the .json file (in the official repo) shows 20240527 while I am getting 20240414 (or something along those lines)

19:21:11
@gilganix:matrix.orgMist

The way I am installing the extensions is as follows

19:21:20
@gilganix:matrix.orgMist
hm.programs.emacs = {
  enable = true;
  package = cfg.package;
  extraPackages = epkgs:
    attrValues ({
        inherit (epkgs.melpaPackages) jinx pdf-tools telega;
        inherit (epkgs.treesit-grammars) with-all-grammars;
      }
      // optionalAttrs (cfg.terminal == "VTerm") {
        inherit (epkgs.melpaPackages) vterm;
      });
};
19:22:11
@gilganix:matrix.orgMist

Don't know how I managed to do this… but I forgot that we are pulling from melpa and not git… hence why I was confused

23:25:34
1 Jun 2024
@gilganix:matrix.orgMist

Guess I lied? Because I am building 20240410.928 even with the latest flake lock… huh??

01:54:26
@gilganix:matrix.orgMist

While emacs is at emacs-git-with-packages-20240531.0

01:59:41
@ahacop:matrix.orgAra Hacopian joined the room.22:20:49
2 Jun 2024
@bumperboat:matrix.org@bumperboat:matrix.org changed their display name from bumperboat (UTC+7) to bumperboat (UTC+1).05:29:01
@aya:gyara.moe~綾 joined the room.09:56:09
@axeman:pub.solarAkshay changed their display name from Akshay (☎️ PUNE) to Akshay.19:26:57
4 Jun 2024
@pcasaretto:matrix.orgpcasaretto joined the room.13:29:29
@pcasaretto:matrix.orgpcasaretto

Hey everyone. I've been trying to hit the community cache but failing miserably.
Should I be able to hit it using something like:

      ((emacsPackagesFor emacs-unstable).emacsWithPackages

Or would this approach force a rebuild every time?

13:31:05

Show newer messages


Back to Room ListRoom Version: 6