25 lines
502 B
Nix
25 lines
502 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
let
|
|
myEmacs = (pkgs.emacs.override {
|
|
withGTK3 = true;
|
|
withGTK2 = false;
|
|
}).overrideAttrs (attrs: {
|
|
postInstall = (attrs.postInstall or "") + ''
|
|
rm $out/share/applications/emacs.desktop
|
|
'';
|
|
});
|
|
emacsWithPackages = (pkgs.emacsPackagesGen myEmacs).emacsWithPackages;
|
|
in
|
|
emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [
|
|
use-package
|
|
modus-operandi-theme
|
|
modus-vivendi-theme
|
|
magit
|
|
company
|
|
flycheck
|
|
projectile
|
|
yasnippet
|
|
helm
|
|
nix-mode
|
|
]))
|