Skip to content

Commit c32926a

Browse files
committed
fix(home-manager): handle Emacs package selection for Darwin systems
- Updated `emacsPkg` to conditionally use `emacs-unstable-with-widgets` only on Darwin systems, defaulting to `emacs-unstable` otherwise.
1 parent b842911 commit c32926a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

home-manager/advanced.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let
2828
inherit (nixpkgs) lib;
2929
inherit pkgs sources;
3030
};
31-
emacsPkg = emacs.emacs-unstable-with-widgets;
31+
emacsPkg = if pkgs.stdenv.isDarwin then emacs.emacs-unstable-with-widgets else emacs.emacs-unstable;
3232

3333
# misc
3434
misc = import ./misc;

0 commit comments

Comments
 (0)