-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation hangs when using pkgs.emacsPgtk #409
Comments
I'm having this issue with the latest pgtk also, I'm using the build here https://hydra.nix-community.org/build/4091521#tabs-details |
Running into the same issue, even when using So it is probably best to just stay on the currently pinned version. |
Same here. @FlorianFranzen how do I pin the |
Also, it looks like |
Any updates on the situation? I'm also stuck |
having same issue on 23.05 but with pkgs.emacsGit |
A month ago I used to get the inhibiting forever issue, but now I get this:
|
I am still facing this problem trying to use a recent unstable emacs with pgtk enabled. I used the USR2 signal to force emacs to the following build output:
So there is a good chance the underlying cause, at least in my case, is related to doomemacs/doomemacs#5592 |
Could also just be that the option got renamed and it hangs because of that, i.e. similar to radian-software/straight.el#1059, then again doom should have fixed that a while ago already in doomemacs/doomemacs#7090, but we do not include that fix yet. |
This probably isn't an elegant fix, but I made a quick patch of nix-straight.el, just putting the aforementioned patch from doomemacs/doomemacs#7090 into the top of it. Rebuilding nix-doom-emacs with that patch works, except strangely, with the cc module from init.el activated, there's a compilation error with irony:
but I don't know if that is relevant here. It seems to work otherwise. If this is any use to anyone for the time being, I have this patch bundled here which I am using/testing. Flake input would be: and I've only tested it so far with the pkgs.emacs29-pgtk package. |
@librephoenix Unsure if this is the right place to put it, but this patch stopped working after a recent update requiring a |
@skiletro Had that problem a few weeks ago since I'm running unstable. Since I couldn't figure out how to fix it the "proper" way, I added a nixpkgs patch to my flake here. It essentially undoes 35ccb9d, which requires the version and throws the error. It's a kind of hacky fix, but it seems to work for now. I can't find the tutorial I used to patch nixpkgs in my flake, but here's my flake and the patch for reference: The important parts of the flake boil down to:
Hope this helps. Happy hacking! |
@librephoenix It looks like the upstream Combining your changes with the latest version of theirs, I got the build working with Here's the branch on my fork that fixes it: https://github.com/codingkoi/nix-straight.el/tree/codingkoi/apply-librephoenixs-fix ( And you can use it by changing flake inputs similar to the following: {
inputs = {
# ... other inputs
nix-straight = {
url = "github:codingkoi/nix-straight.el?ref=codingkoi/apply-librephoenixs-fix";
flake = false;
};
nix-doom-emacs = {
url = "github:nix-community/nix-doom-emacs";
inputs = {
nix-straight.follows = "nix-straight";
# ... whatever other follows you might want to set like nixpkgs or emacs-overlay
};
};
};
outputs = {...};
} I'm not sure if the upstream repo would want to accept your change, since it might be specific to |
I'll gladly merge the |
Same issue just with programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
}; |
Still experiencing this issue, hoping there's a fix! Using as a home-manager flake: doom-emacs = {
enable = false;
doomPrivateDir = ./doom.d;
}; |
I try to install to an unstable NixOS system. Installation works fine with the default emacs-28 package. Since I would like to use the pgtk version due to native wayland support, I added the pgtk package as an option. With it, the installation does stall.
I use the following snippet to install doom-emacs successfully:
As soon as I remove the comment, the installation stalls at the message
The text was updated successfully, but these errors were encountered: