!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

227 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs48 Servers

Load older messages


SenderMessageTime
23 Mar 2023
@k0kada:matrix.orgk0kada (he/him)
In reply to @asbjorn:olli.ng
TL;DR
does anyone know how to update the MELPA repository indexes manually on NixOS?
It does by emacs-community repository
14:36:03
@k0kada:matrix.orgk0kada (he/him)If this package is not there it is not going to be found14:36:12
@asbjorn:olli.ngAsbjørnDo you know how I can check this?14:36:34
@k0kada:matrix.orgk0kada (he/him)https://github.com/nix-community/emacs-overlay14:36:35
@asbjorn:olli.ngAsbjørn How do I check whether a package is supported by emacs-overlay?
The README says "Daily generations of Melpa & Melpa stable attribute sets." This makes me think that any more-than-a-day-old packages should be in there? 🤔
14:39:53
@paultrial:banditlair.compaultrial

You can add a package manually if it is missing, for instance I have:

      programs.doom-emacs = {
        enable = true;
        doomPrivateDir = ./doom.d;
        emacsPackagesOverlay = final: prev: {
          ob-ammonite = with final;
            (trivialBuild {
              src = pkgs.fetchFromGitHub {
                owner = "zwild";
                repo = "ob-ammonite";
                rev = "39937dff395e70aff76a4224fa49cf2ec6c57cca";
                sha256 = pkgs.lib.fakeSha256;
              };
              pname = "ob-ammonite";
              packageRequires = [ s dash editorconfig ];
            });
        };
      };
16:03:24
@asbjorn:olli.ngAsbjørnNice, thanks a lot! I'll try this later16:04:54
@asymmetric:matrix.dapp.org.ukasymmetric left the room.16:07:23
25 Mar 2023
@worldofgeese:one.ems.hostworldofgeese joined the room.23:03:41
@worldofgeese:one.ems.hostworldofgeeseI'm attempting a first build and I receive a `inhibiting (kill-emacs)`. I left it for 6 hours and just came home to the same message.23:04:49
26 Mar 2023
@asbjorn:olli.ngAsbjørnThis was really helpful, after some more messing around with it for a bit, I got the plugin to work! Thanks a lot 🫂22:10:51
@kj4ohh:matrix.orgkj4ohh joined the room.22:39:28
@kj4ohh:matrix.orgkj4ohhHello, I've gotten nix-doom-emacs setup a few days ago, but today I added the emacs daemon in my home.nix (services.emacs.enable = true;)22:40:51
@kj4ohh:matrix.orgkj4ohhNow when I choose Emacs (client) it won't come up like it did22:41:09
@kj4ohh:matrix.orgkj4ohhWhen I try emacsclient -c on the command line, it says i can't open Display :1 but it should be :022:41:28
@kj4ohh:matrix.orgkj4ohhIs there something wrong in my config?22:41:36
@kj4ohh:matrix.orgkj4ohhWell, I just did an echo $DISPLAY and it did return :123:02:33
@paultrial:banditlair.compaultrialGlad it helped, I installed emacs just a few days ago and I was lucky enough to find a similar snippet on someone's github :)23:37:01
28 Mar 2023
@azizul7m:matrix.orgANOWER joined the room.08:17:28
@azizul7m:matrix.orgANOWER is there any solution for that?
error: evaluation aborted with the following error message: 'Package not available: ivy-taskrunner'
08:19:39
@aktaboot:tchncs.deaktabootanyone experiencing emacs eating cpu for breakfast ?19:51:41
@paultrial:banditlair.compaultrial ANOWER: See my previous message slightly higher, it might be what you want 20:29:09
29 Mar 2023
@abbe:badti.meabbe joined the room.01:14:36
1 Apr 2023
@nanoplink:matrix.orgnanoni17728 joined the room.14:13:05
2 Apr 2023
@aktaboot:tchncs.deaktaboot left the room.17:12:44
@divdus:poa.stmarsposting joined the room.17:51:34
@divdus:poa.stmarsposting

Hey! I’m still pretty new to Nix and am seeing that when I configure Emacs on Darwin, I am getting an x86 build rather than an GCC+aarch64 one alongside it.

Would anyone know how I could explicitly configure it to fetch that instead? My system should be set to aarch64, so I’m not sure what I’m missing

17:57:07
6 Apr 2023
@jasonjckn:matrix.orgNull_A marsposting: using nix overlay? 00:21:01
@jasonjckn:matrix.orgNull_A * marsposting: using emacs overlay? 00:21:06
@hdzki:hdzki.kozow.comhdzki ⚡️
In reply to@divdus:poa.st

Hey! I’m still pretty new to Nix and am seeing that when I configure Emacs on Darwin, I am getting an x86 build rather than an GCC+aarch64 one alongside it.

Would anyone know how I could explicitly configure it to fetch that instead? My system should be set to aarch64, so I’m not sure what I’m missing

check that the nixpkgs you are passing is indeed set to aarch64-darwin
11:57:45

Show newer messages


Back to Room ListRoom Version: 9