!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
30 Dec 2022
@ckie:ckie.devckie (they/them)there's another room I think15:28:34
@ckie:ckie.devckie (they/them) #emacs:nixos.org 15:28:37
@aktaboot:tchncs.deaktabootthank15:28:54
@ckie:ckie.devckie (they/them)iirc emacs has a few gui backends?15:29:05
@ckie:ckie.devckie (they/them)maybe one of them can do wayland15:29:10
@ckie:ckie.devckie (they/them)ah, pgtk15:29:32
@ckie:ckie.devckie (they/them)thiago uses pgtk15:29:49
@aktaboot:tchncs.deaktabootyeah normal emacs does work in gui on wayland, but not the emacsclient15:29:55
@ckie:ckie.devckie (they/them)i'd try pgtk anyway15:30:27
@aktaboot:tchncs.deaktabootokay15:30:36
@ckie:ckie.devckie (they/them)it's probably going through the x11 bridge15:30:38
@aktaboot:tchncs.deaktabootany pointers on trying/using pgtk ?15:31:06
@ckie:ckie.devckie (they/them) uh, I see it here 15:31:28
@ckie:ckie.devckie (they/them)that's .override15:31:32
@ckie:ckie.devckie (they/them)probably want some emacs-overlay action though15:31:48
@aktaboot:tchncs.deaktaboot
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.deaktaboot maybe you need emacsWithPacakges ? 11:42:53
@aktaboot:tchncs.deaktaboot https://github.com/hlissner/dotfiles/blob/089f1a9da9018df9e5fc200c2d7bef70f4546026/modules/editors/emacs.nix#L30 like this maybe 11:43:31
@ckie:ckie.devckie (they/them)https://github.com/nix-community/nix-doom-emacs/pull/266/files?short_path=b335630#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f517:00:24
@ckie:ckie.devckie (they/them) alicecandyOM: go explore. it's possible 17:00:31
6 Jan 2023
@edrex:matrix.orgedrex left the room.02:07:31
7 Jan 2023
@aktaboot:tchncs.deaktaboot changed their profile picture.20:28:15
14 Jan 2023
@ianic:matrix.orgIgor Anić joined the room.09:54:06
17 Jan 2023
@k0kada:matrix.orgk0kada (he/him)

Hey ckie (they/them)

Going to merge the #266

18:57:52

Show newer messages


Back to Room ListRoom Version: 9