forked from mirrors/nixpkgs
emacs-packages: make the file header more informative
This commit is contained in:
parent
56fbeb7a93
commit
0031120921
|
@ -1,17 +1,35 @@
|
||||||
# package.el-based emacs packages
|
# package.el-based emacs packages
|
||||||
|
|
||||||
|
## FOR USERS
|
||||||
#
|
#
|
||||||
## add this at the start your init.el:
|
# Recommended way: simply use `emacsWithPackages` from
|
||||||
# (require 'package)
|
# `all-packages.nix` with the packages you want.
|
||||||
#
|
#
|
||||||
# ;; optional. makes unpure packages archives unavailable
|
# Possible way: use `emacs` from `all-packages.nix`, install
|
||||||
# (setq package-archives nil)
|
# everything to a system or user profile and then add this at the
|
||||||
|
# start your `init.el`:
|
||||||
|
/*
|
||||||
|
(require 'package)
|
||||||
|
|
||||||
|
;; optional. makes unpure packages archives unavailable
|
||||||
|
(setq package-archives nil)
|
||||||
|
|
||||||
|
;; optional. use this if you install emacs packages to the system profile
|
||||||
|
(add-to-list 'package-directory-list "/run/current-system/sw/share/emacs/site-lisp/elpa")
|
||||||
|
|
||||||
|
;; optional. use this if you install emacs packages to user profiles (with nix-env)
|
||||||
|
(add-to-list 'package-directory-list "~/.nix-profile/share/emacs/site-lisp/elpa")
|
||||||
|
|
||||||
|
(package-initialize)
|
||||||
|
*/
|
||||||
|
|
||||||
|
## FOR CONTRIBUTORS
|
||||||
#
|
#
|
||||||
# (add-to-list 'package-directory-list "/run/current-system/sw/share/emacs/site-lisp/elpa")
|
# When adding a new package here please note that
|
||||||
#
|
# * lib.licenses are `with`ed on top of the file here
|
||||||
# ;; optional. use this if you install emacs packages to user profiles (with nix-env)
|
# * both trivialBuild and melpaBuild will automatically derive a
|
||||||
# (add-to-list 'package-directory-list "~/.nix-profile/share/emacs/site-lisp/elpa")
|
# `meta` with `platforms` and `homepage` set to something you are
|
||||||
#
|
# unlikely to want to override for most packages
|
||||||
# (package-initialize)
|
|
||||||
|
|
||||||
{ overrides
|
{ overrides
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue