Guest User

Untitled

a guest
Jan 3rd, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. /*
  2.  
  3.  
  4. Querying:
  5.  
  6. nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.melpaPackages | grep
  7.  
  8. Building:
  9.  
  10. nix-build emacs.nix
  11.  
  12. Running:
  13.  
  14. ./result/bin/emacs
  15.  
  16. Both:
  17.  
  18. nix-build emacs.nix && ./result/bin/emacs
  19.  
  20.  
  21. https://nixos.org/wiki/Emacs_configuration
  22.  
  23. */
  24. { pkgs ? import <nixpkgs> {} }:
  25.  
  26.  
  27. let
  28. myEmacs = pkgs.emacs25;
  29. emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages;
  30. in
  31.  
  32. emacsWithPackages (epkgs: ([
  33.  
  34. ]) ++ (with epkgs.melpaPackages; [
  35.  
  36. # intero
  37.  
  38. magit # ; Integrate git <C-x g>
  39. helm
  40. undo-tree # ; <C-x u> to show the undo tree
  41. zoom-frm # ; increase/decrease font size for all buffers %lt;C-x C-+>
  42. idris-mode
  43. # erc # builtin
  44. haskell-mode
  45. nix-mode
  46. projectile
  47. multi-term
  48. magit
  49. # ido-complete-space-or-hyphen
  50. tabbar
  51. smooth-scrolling
  52. centered-cursor-mode
  53. exec-path-from-shell
  54. dash
  55. s
  56. projectile
  57. flx-ido
  58. evil
  59. #help-fns-plus # aka help-fns+
  60. window-purpose
  61. #replace-plus
  62. deft
  63. paredit
  64.  
  65. ]) ++ (with epkgs.melpaStablePackages; [
  66.  
  67. ]) ++ (with epkgs.orgPackages; [
  68. org
  69.  
  70. ]) ++ (with epkgs.elpaPackages; [
  71. auctex # ; LaTeX mode
  72. # vlfi
  73.  
  74. ]))
  75.  
  76. # intero = callPackage ({ company, emacs, fetchFromGitHub, fetchurl, flycheck, haskell-mode, lib, melpaBuild }:
  77. # melpaBuild {
  78. # pname = "intero";
  79. # version = "20161218.917";
  80. # src = fetchFromGitHub {
  81. # owner = "commercialhaskell";
  82. # repo = "intero";
  83. # rev = "59ad0002b16a77c2de0cc18862e8e1842c00d6c4";
  84. # sha256 = "1678zjrdawks59l95x6qsp01man8k7r3si6qk1bb6dz261dh9adl";
  85. # };
  86. # recipeFile = fetchurl {
  87. # url = "https://raw.githubusercontent.com/milkypostman/melpa/1b56ca344ad944e03b669a9974e9b734b5b445bb/recipes/intero";
  88. # sha256 = "15n7ipsq8ylmq4blsycpszkx034j9sb92vqvaz30j5v307fmvs99";
  89. # name = "intero";
  90. # };
  91. # packageRequires = [ company emacs flycheck haskell-mode ];
  92. # meta = {
  93. # homepage = "https://melpa.org/#/intero";
  94. # license = lib.licenses.free;
  95. # };
  96. # }) {};
Advertisement
Add Comment
Please, Sign In to add comment