!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
30 Dec 2022
@ckie:ckie.devmei πŸŒ’&better if you post what isn't working15:17:56
@aktaboot:tchncs.de@aktaboot:tchncs.deI'm not using nix-doom-emacs though, I probably have to set a wayland display variable or wayland wrapper15:21:48
@aktaboot:tchncs.de@aktaboot:tchncs.de
Waiting for Emacs...
*ERROR*: Display :1 can’t be opened
15:27:41
@aktaboot:tchncs.de@aktaboot:tchncs.de *
Waiting for Emacs...
*ERROR*: Display :1 can’t be opened
15:27:45
@aktaboot:tchncs.de@aktaboot:tchncs.de *
Waiting for Emacs...
*ERROR*: Display :1 can’t be opened
15:27:51
@aktaboot:tchncs.de@aktaboot:tchncs.de *
❯ emacsclient -c
Waiting for Emacs...
*ERROR*: Display :1 can’t be opened
15:27:56
@ckie:ckie.devmei πŸŒ’&there's another room I think15:28:34
@ckie:ckie.devmei πŸŒ’& #emacs:nixos.org 15:28:37
@aktaboot:tchncs.de@aktaboot:tchncs.dethank15:28:54
@ckie:ckie.devmei πŸŒ’&iirc emacs has a few gui backends?15:29:05
@ckie:ckie.devmei πŸŒ’&maybe one of them can do wayland15:29:10
@ckie:ckie.devmei πŸŒ’&ah, pgtk15:29:32
@ckie:ckie.devmei πŸŒ’&thiago uses pgtk15:29:49
@aktaboot:tchncs.de@aktaboot:tchncs.deyeah normal emacs does work in gui on wayland, but not the emacsclient15:29:55
@ckie:ckie.devmei πŸŒ’&i'd try pgtk anyway15:30:27
@aktaboot:tchncs.de@aktaboot:tchncs.deokay15:30:36
@ckie:ckie.devmei πŸŒ’&it's probably going through the x11 bridge15:30:38
@aktaboot:tchncs.de@aktaboot:tchncs.deany pointers on trying/using pgtk ?15:31:06
@ckie:ckie.devmei πŸŒ’& uh, I see it here 15:31:28
@ckie:ckie.devmei πŸŒ’&that's .override15:31:32
@ckie:ckie.devmei πŸŒ’&probably want some emacs-overlay action though15:31:48
@aktaboot:tchncs.de@aktaboot:tchncs.de
In reply to @ckie:ckie.dev
probably want some emacs-overlay action though
iiuc this does not exactly solve the pgtk, meaning I still have to .override anyway
17:41:10
1 Jan 2023
@alicecandyom:krendelhoff.spacealicecandyOM joined the room.08:48:59
@alicecandyom:krendelhoff.spacealicecandyOM

Hello everyone, how it is supposed to add third party packages at packages.el?

(package! copilot :pin "43726d3"
  :recipe (:host "github"
           :repo "zerolfx/copilot.el"
           :files ("*.el" "dist")))

This results in Package not available: copilot
If I use this, it doesn't even start to evaluate, but build finishes successfully

    emacsPackagesOverlay = final: prev: {
      copilot = pkgs.fetchFromGitHub {
        owner = "zerolfx";
        repo = "copilot.el";
        rev = "43726d3447120062156878108879f207a9778fc8";
        sha256 = pkgs.lib.fakeSha256;
      };
  };
09:10:17
@alicecandyom:krendelhoff.spacealicecandyOM *

Hello everyone, how is it supposed to add third party packages at packages.el?

(package! copilot :pin "43726d3"
  :recipe (:host "github"
           :repo "zerolfx/copilot.el"
           :files ("*.el" "dist")))

This results in Package not available: copilot
If I use this, it doesn't even start to evaluate, but build finishes successfully

    emacsPackagesOverlay = final: prev: {
      copilot = pkgs.fetchFromGitHub {
        owner = "zerolfx";
        repo = "copilot.el";
        rev = "43726d3447120062156878108879f207a9778fc8";
        sha256 = pkgs.lib.fakeSha256;
      };
  };
09:10:34
@alicecandyom:krendelhoff.spacealicecandyOM *

Hello everyone, how is it supposed to add third party packages at packages.el?

(package! copilot :pin "43726d3"
  :recipe (:host "github"
           :repo "zerolfx/copilot.el"
           :files ("*.el" "dist")))

This results in Package not available: copilot
If I use this (together with the code above), it doesn't even start to evaluate, but build finishes successfully

    emacsPackagesOverlay = final: prev: {
      copilot = pkgs.fetchFromGitHub {
        owner = "zerolfx";
        repo = "copilot.el";
        rev = "43726d3447120062156878108879f207a9778fc8";
        sha256 = pkgs.lib.fakeSha256;
      };
  };
09:13:37
@sg-qwt:nltrix.net@sg-qwt:nltrix.net left the room.11:50:26
3 Jan 2023
@alicecandyom:krendelhoff.spacealicecandyOM Nobody knows? :) I resolved it via (use-package! copilot :load-path <nix_path>), but it looks dirty 11:35:28
@aktaboot:tchncs.de@aktaboot:tchncs.de maybe you need emacsWithPacakges ? 11:42:53
@aktaboot:tchncs.de@aktaboot:tchncs.de https://github.com/hlissner/dotfiles/blob/089f1a9da9018df9e5fc200c2d7bef70f4546026/modules/editors/emacs.nix#L30 like this maybe 11:43:31

Show newer messages


Back to Room ListRoom Version: 9