!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
10 Sep 2022
@hdzki:hdzki.kozow.comhdzki ⚡️i probably have to read the man page of install do i 🥲21:19:36
@hdzki:hdzki.kozow.comhdzki ⚡️
In reply to@hdzki:hdzki.kozow.com
i probably have to read the man page of install do i 🥲
Welp, install isn't made for this. cp -r time it is
21:23:52
11 Sep 2022
@mon:tchncs.deribosomerocker

@k0kada: about

I think we also need a "standalone" section, but this would give as an example a shell.nix or flake.nix file with devShell. My experience ends about there 😅 do you have an example flake.nix file i could through in there?

04:27:35
@mon:tchncs.deribosomerocker *

@k0kada: about

I think we also need a "standalone" section, but this would give as an example a shell.nix or flake.nix file with devShell.

My experience ends about there 😅 do you have an example flake.nix file i could through in there?

04:27:44
@mon:tchncs.deribosomerocker *

@k0kada: about

I think we also need a "standalone" section, but this would give as an example a shell.nix or flake.nix file with devShell.

My experience ends about there 😅 do you have an example flake.nix file i could throw in there?

04:27:55
@mon:tchncs.deribosomerockerRedacted or Malformed Event04:41:43
@mon:tchncs.deribosomerockerRedacted or Malformed Event04:47:21
@mon:tchncs.deribosomerocker * also about providing examples for elpaBuild and melpaBuild, should I grab one from nixpkgs' code? 05:10:23
@qe7ftcyrpg:matrix.orgFlorian joined the room.05:40:07
@jasonjckn:matrix.orgNull_A joined the room.07:48:15
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de

@k0kada: about

I think we also need a "standalone" section, but this would give as an example a shell.nix or flake.nix file with devShell.

My experience ends about there 😅 do you have an example flake.nix file i could throw in there?

Can you ask this in the PR? I can whip one when I have the time to do it
10:18:01
@hexagonk:halogen.cityhexagonk joined the room.12:04:36
@k0kada:matrix.orgk0kada (he/him) ckie (they/them): https://github.com/nix-community/nix-doom-emacs/pull/267
Any other complain here?
21:21:43
@ckie:ckie.devckie (they/them; limited keyboard usage, voice preferred)it's in the queue22:02:02
12 Sep 2022
@hexagonk:halogen.cityhexagonk

Hello. I'm trying to get a non-ELPA package set up in NDE. I've tried a few different incantations, but even when I use pkgs.fetchFromGitHub, it doesn't even error out on a lib.fakeSha256 invocation. It's like the emacsPackagesOverlay isn't being realised at all? I feel like I'm missing something really obvious from the source code. (For example, the following code is producing a native-compiled emacs from emacs-overlay that works fine, but no org-pretty-table.)

    emacsPackage = pkgs.emacsPgtkNativeComp;
    emacsPackagesOverlay = self: super: {
      magit-delta = super.magit-delta.overrideAttrs (esuper: {buildInputs = esuper.buildInputs ++ [pkgs.git];});
      treemacs = super.treemacs.overrideAttrs (esuper: {buildInputs = esuper.buildInputs ++ [pkgs.python3];});
      org-pretty-table = self.trivialBuild rec {
        pname = "org-pretty-table";
        ename = pname;
        src = "${inputs.org-pretty-table}";
      };
    };
06:35:54
@k0kada:matrix.orgk0kada (he/him)
In reply to @hexagonk:halogen.city

Hello. I'm trying to get a non-ELPA package set up in NDE. I've tried a few different incantations, but even when I use pkgs.fetchFromGitHub, it doesn't even error out on a lib.fakeSha256 invocation. It's like the emacsPackagesOverlay isn't being realised at all? I feel like I'm missing something really obvious from the source code. (For example, the following code is producing a native-compiled emacs from emacs-overlay that works fine, but no org-pretty-table.)

    emacsPackage = pkgs.emacsPgtkNativeComp;
    emacsPackagesOverlay = self: super: {
      magit-delta = super.magit-delta.overrideAttrs (esuper: {buildInputs = esuper.buildInputs ++ [pkgs.git];});
      treemacs = super.treemacs.overrideAttrs (esuper: {buildInputs = esuper.buildInputs ++ [pkgs.python3];});
      org-pretty-table = self.trivialBuild rec {
        pname = "org-pretty-table";
        ename = pname;
        src = "${inputs.org-pretty-table}";
      };
    };
Well, for one, does your doom-emacs config is calling the package?
09:15:27
@hexagonk:halogen.cityhexagonkNot yet, because I haven't found the .el/.elc/.eln files in any of the outputs in /nix/store.10:41:57
@hexagonk:halogen.cityhexagonkI suspect at some point I'm just going to throw it in doom.d and source it directly?10:42:25
@k0kada:matrix.orgk0kada (he/him)
In reply to @hexagonk:halogen.city
Not yet, because I haven't found the .el/.elc/.eln files in any of the outputs in /nix/store.
You need to call the package
15:34:43
@k0kada:matrix.orgk0kada (he/him) The way nix-straight.el works is by scrapping your config, getting the metadata from your config, and them looking at the available packages in nixpkgs/emacs-overlay/NDE own's flake.nix 15:35:47
@k0kada:matrix.orgk0kada (he/him)So if you don't add the package to your config, it is never going to be evaluated (since, you know, nix is lazy)15:36:10
@k0kada:matrix.orgk0kada (he/him) * The way nix-straight.el works is by scrapping your config, getting the metadata from your config, and them looking at the available packages in nixpkgs/emacs-overlay/emacsPackagesOverlay/NDE own's flake.nix/etc 15:36:37
@hdzki:hdzki.kozow.comhdzki ⚡️ Is there a reason why this isn't in the general nix space? 16:05:27
@ckie:ckie.devckie (they/them; limited keyboard usage, voice preferred) mon_aaraj, k0kada : taking the lock on #266 16:07:11
@ckie:ckie.devckie (they/them; limited keyboard usage, voice preferred) hdzki ⚡️: its in in the topics subspace iirc 16:07:22
@hdzki:hdzki.kozow.comhdzki ⚡️
In reply to@ckie:ckie.dev
hdzki ⚡️: its in in the topics subspace iirc
Oh, didn't see that cause i'm using conduit (no space exploration yet)
16:12:26
@hdzki:hdzki.kozow.comhdzki ⚡️Do you have a link to that space?16:12:38
@ckie:ckie.devckie (they/them; limited keyboard usage, voice preferred)synapse also doesn't do it very well16:12:40
@ckie:ckie.devckie (they/them; limited keyboard usage, voice preferred) #topics:nixos.org 16:13:29
@ckie:ckie.devckie (they/them; limited keyboard usage, voice preferred)
In reply to @ckie:ckie.dev
mon_aaraj, k0kada : taking the lock on #266
releasing it as it seems stacking my review on top of kokadas is not something github does very well
16:15:10

Show newer messages


Back to Room ListRoom Version: 9