Emacs: don't install desktop file on darwin
Alan Pearce alan@alanpearce.eu
Mon, 21 Sep 2020 14:31:59 +0200
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -203,5 +203,7 @@ ${config.programs.emacs.finalPackage}/bin/emacs -Q -batch -f batch-byte-compile .config/emacs/init.el ''; }; - home.file.".local/share/applications/emacsclient.desktop".source = desktopApplicationFile; + home.file.".local/share/applications/emacsclient.desktop" = lib.mkIf stdenv.isLinux { + source = desktopApplicationFile; + }; }