!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
15 Dec 2022
@mon:tchncs.deribosomerockerI can remember that this used to work, but after updating my flake inputs and such, this appears to fail again00:52:19
@mon:tchncs.deribosomerocker *

Well, hello again! I'm starting to have some time again which is why I'm prograrmming some hobby projects lately, mainly using Idris 2, and I thought to boot up Doom Emacs (i don't yet have enough free time to start working on the documentation PR again unfortrunately, though i see you're making some progress, though somewhat slow. keep going!). For whatever reason, the pictured error below appears when running idris2-mode. But... I do depend on prop-menu in my configuration:

doom-emacs = {
  enable = true;
  doomPrivateDir = ./doom;
  extraPackages = \[ pkgs.mu ];
  emacsPackage = pkgs.emacsPgtkNativeComp;
  emacsPackagesOverlay = self: super: {
    idris2-mode = self.trivialBuild {
      pname = "idris2-mode";
      ename = "idris2-mode";
      version = "0.0.0";
      buildInputs = [ self.prop-menu ];
      src = pkgs.fetchFromGitHub {
        owner = "idris-community";
        repo = "idris2-mode";
        rev = "4a3f9cdb1a155da59824e39f0ac78ccf72f2ca97";
        sha256 = "sha256-TxsGaG2fBRWWP9aas59kiNnUVD4ZdNlwwaFbM4+n81c=";
      };
    };
  };
};

any idea what's going wrong?

00:52:42
@mon:tchncs.deribosomerocker *

Well, hello again! I'm starting to have some time again which is why I'm prograrmming some hobby projects lately, mainly using Idris 2, and I thought to boot up Doom Emacs (i don't yet have enough free time to start working on the documentation PR again unfortrunately, though i see you're making some progress, though somewhat slow. keep going!). For whatever reason, the pictured error below appears when running idris2-mode. But... I do depend on prop-menu in my configuration:

doom-emacs = {
  enable = true;
  doomPrivateDir = ./doom;
  extraPackages = [ pkgs.mu ];
  emacsPackage = pkgs.emacsPgtkNativeComp;
  emacsPackagesOverlay = self: super: {
    idris2-mode = self.trivialBuild {
      pname = "idris2-mode";
      ename = "idris2-mode";
      version = "0.0.0";
      buildInputs = [ self.prop-menu ];
      src = pkgs.fetchFromGitHub {
        owner = "idris-community";
        repo = "idris2-mode";
        rev = "4a3f9cdb1a155da59824e39f0ac78ccf72f2ca97";
        sha256 = "sha256-TxsGaG2fBRWWP9aas59kiNnUVD4ZdNlwwaFbM4+n81c=";
      };
    };
  };
};

any idea what's going wrong?

00:53:31
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event11:29:52
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event11:30:34
@adam:valkor.net@adam:valkor.netIt assumes the doom.d directory is in the flake directory/repo12:43:06
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event13:23:34
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event13:24:20
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event13:24:55
@ckie:ckie.devckie (they/them) Gavin R: ./.doom.d 14:31:01
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event16:22:25
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event16:24:26
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event16:46:08
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event16:55:23
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event16:56:45
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event17:22:49
@ckie:ckie.devckie (they/them):317:30:12
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event17:58:20
@ckie:ckie.devckie (they/them) Gavin R: my list 19:04:42
@mon:tchncs.deribosomerocker
In reply to@mon:tchncs.de

Well, hello again! I'm starting to have some time again which is why I'm prograrmming some hobby projects lately, mainly using Idris 2, and I thought to boot up Doom Emacs (i don't yet have enough free time to start working on the documentation PR again unfortrunately, though i see you're making some progress, though somewhat slow. keep going!). For whatever reason, the pictured error below appears when running idris2-mode. But... I do depend on prop-menu in my configuration:

doom-emacs = {
  enable = true;
  doomPrivateDir = ./doom;
  extraPackages = [ pkgs.mu ];
  emacsPackage = pkgs.emacsPgtkNativeComp;
  emacsPackagesOverlay = self: super: {
    idris2-mode = self.trivialBuild {
      pname = "idris2-mode";
      ename = "idris2-mode";
      version = "0.0.0";
      buildInputs = [ self.prop-menu ];
      src = pkgs.fetchFromGitHub {
        owner = "idris-community";
        repo = "idris2-mode";
        rev = "4a3f9cdb1a155da59824e39f0ac78ccf72f2ca97";
        sha256 = "sha256-TxsGaG2fBRWWP9aas59kiNnUVD4ZdNlwwaFbM4+n81c=";
      };
    };
  };
};

any idea what's going wrong?

i've checked the issues and there doesn't seem to be an issue like this, i assume this is just another case of my machine being cursed...
19:49:09
@mon:tchncs.deribosomerockerwell, except my issue, but that issue was solved with this exact piece of code19:51:53
@mon:tchncs.deribosomerocker changed their profile picture.19:53:08
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event21:41:01
@ckie:ckie.devckie (they/them)it's 5gb or something and latex errors are annoying as fuck21:41:19
@gavinrogers:matrix.org@gavinrogers:matrix.orgRedacted or Malformed Event21:42:04
16 Dec 2022
@mon:tchncs.deribosomerockerWell, I've found nothing to fix it. I assume you guys don't know what's going on too?18:58:58
@ckie:ckie.devckie (they/them) ribosomerocker: you probably want a (package! prop-menu) 22:17:39
17 Dec 2022
@adam:valkor.net@adam:valkor.net left the room.04:30:01
18 Dec 2022
@hab25:matrix.org@hab25:matrix.org

I was having trouble installing (package! hyperbole), due to the following error during the nix-straight build:

       > ERROR: doom-emacs build resulted in files being written in $HOME of the build sandbox.
       > Contents of $HOME:
       > /build/tmp.9YIYoZ1pyj
       > /build/tmp.9YIYoZ1pyj/.hyperb

I solved this by, instead of using package!, adding pkgs.emacsPackages.hyperbole to the programs.doom-emacs.extraPackages list. No issues so far.

AFAIU, all I'm losing here are the configuration options of package! which I don't use and are mostly redundant anyway.

I'm thinking of similarly migrating all of my other package!s as well, as it should greatly simplify and reduce bugs in their installation; they will be built by one package (nix) manager instead of "3" (nix, nix-straight, nix-doom-emacs).

Is this a good idea? ckie (they/them) k0kada (he/him)

10:17:25
@k0kada:matrix.orgk0kada (he/him)
In reply to @hab25:matrix.org

I was having trouble installing (package! hyperbole), due to the following error during the nix-straight build:

       > ERROR: doom-emacs build resulted in files being written in $HOME of the build sandbox.
       > Contents of $HOME:
       > /build/tmp.9YIYoZ1pyj
       > /build/tmp.9YIYoZ1pyj/.hyperb

I solved this by, instead of using package!, adding pkgs.emacsPackages.hyperbole to the programs.doom-emacs.extraPackages list. No issues so far.

AFAIU, all I'm losing here are the configuration options of package! which I don't use and are mostly redundant anyway.

I'm thinking of similarly migrating all of my other package!s as well, as it should greatly simplify and reduce bugs in their installation; they will be built by one package (nix) manager instead of "3" (nix, nix-straight, nix-doom-emacs).

Is this a good idea? ckie (they/them) k0kada (he/him)

I still don't think we should have that $HOME check
10:43:28

Show newer messages


Back to Room ListRoom Version: 9