summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/emacs-modes
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2020-05-11 15:51:46 +0300
committerAlexey Shmalko <rasen.dubi@gmail.com>2020-05-11 15:51:46 +0300
commitf90f557fb613e3ac89e086e279a48c6f25b4fb6d (patch)
treee1ed5f7484b366dd419b4d54e6d1ebdae5bf98a6 /pkgs/applications/editors/emacs-modes
parent4fc6c5ef8994326b3a92b8e188568ed4d5706dff (diff)
melpa-packages: mention update-from-overlay script
Diffstat (limited to 'pkgs/applications/editors/emacs-modes')
-rw-r--r--pkgs/applications/editors/emacs-modes/elpa-packages.nix10
-rw-r--r--pkgs/applications/editors/emacs-modes/melpa-packages.nix10
2 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/elpa-packages.nix b/pkgs/applications/editors/emacs-modes/elpa-packages.nix
index a6d657199b98..57f5d7b85941 100644
--- a/pkgs/applications/editors/emacs-modes/elpa-packages.nix
+++ b/pkgs/applications/editors/emacs-modes/elpa-packages.nix
@@ -8,6 +8,16 @@ To update the list of packages from MELPA,
2. Check for evaluation errors: `nix-instantiate ../../../.. -A emacsPackagesNg.elpaPackages`.
3. `git commit -m "elpa-packages $(date -Idate)" -- elpa-generated.nix`
+## Update from overlay
+
+Alternatively, run the following command:
+
+./update-from-overlay
+
+It will update both melpa and elpa packages using
+https://github.com/nix-community/emacs-overlay. It's almost
+instantenous and formats commits for you.
+
*/
{ lib, stdenv, texinfo }:
diff --git a/pkgs/applications/editors/emacs-modes/melpa-packages.nix b/pkgs/applications/editors/emacs-modes/melpa-packages.nix
index 87da2079605f..681ade367e5d 100644
--- a/pkgs/applications/editors/emacs-modes/melpa-packages.nix
+++ b/pkgs/applications/editors/emacs-modes/melpa-packages.nix
@@ -10,6 +10,16 @@ env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPac
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPackages.melpaPackages
3. `git commit -m "melpa-packages: $(date -Idate)" recipes-archive-melpa.json`
+## Update from overlay
+
+Alternatively, run the following command:
+
+./update-from-overlay
+
+It will update both melpa and elpa packages using
+https://github.com/nix-community/emacs-overlay. It's almost
+instantenous and formats commits for you.
+
*/
{ lib, external, pkgs }: variant: self: let