Closed accelbread closed 2 years ago
pgtk is not in a stable release yet. this option exists for the overlay packages. you will have to wait for release 29.
This is how I build Emacs nightly with pgtk/xwidgets:
https://github.com/srid/nixos-config/blob/master/home/emacs.nix#L11-L17
Describe the bug
When built with
withPgtk = true;
, emacs does not use the pgtk GUI. When launched from a terminal, Emacs launches in TUI instead of with the pgtk GUI. Launching emacs from the application drawer fails.Steps To Reproduce
Steps to reproduce the behavior:
pkgs.emacs.override{ withPgtk = true; };
using emacs package from nixos-unstableExpected behavior
Emacs should launch in GUI mode with pgtk.
Additional context
I tried building with withX enabled as well but this causes nixios-rebuild to error with
assert withPgtk -> withGTK3 && !withX && gtk3 != null;
Notify maintainers
@lovek323 @jwiegley @adisbladis
Metadata