Closed ivandimitrov8080 closed 11 months ago
This flake doesn't work for my problem as my problem is related to specifying the package to be used. If you know how to do it then give it a go.
{ description = "Test"; inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; nix-doom-emacs.url = "github:nix-community/nix-doom-emacs"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, nix-doom-emacs, flake-utils, ... }@inputs: flake-utils.lib.eachDefaultSystem ( system: { packages.default = nix-doom-emacs.package.${system} { doomPrivateDir = ./doom.d; emacsPackage = nixpkgs.emacs29; }; } ); }
As for the problem, this works:
programs.doom-emacs = { enable = true; doomPrivateDir = ./doom.d; emacsPackage = pkgs.emacs; };
This does not work:
programs.doom-emacs = { enable = true; doomPrivateDir = ./doom.d; emacsPackage = pkgs.emacs29; };
It hangs while building and it says Inhibiting (kill-emacs).
Inhibiting (kill-emacs)
EDIT:
Running nix-shell -p emacs29 works fine.
nix-shell -p emacs29
Doom emacs does not support versions higher than 29 yet.
This flake doesn't work for my problem as my problem is related to specifying the package to be used. If you know how to do it then give it a go.
As for the problem, this works:
This does not work:
It hangs while building and it says
Inhibiting (kill-emacs)
.EDIT:
Running
nix-shell -p emacs29
works fine.