diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 4a981930e549..30da08920a8f 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -98,7 +98,7 @@ , withWebP ? lib.versionAtLeast version "29" , withX ? !(stdenv.isDarwin || noGui || withPgtk) , withXinput2 ? withX && lib.versionAtLeast version "29" -, withXwidgets ? !noGui && (withGTK3 || withPgtk) +, withXwidgets ? !stdenv.isDarwin && !noGui && (withGTK3 || withPgtk) # Options , siteStart ? ./site-start.el