From de33f4b48b06373c3d960f9939d02522ce55dbc3 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Tue, 26 Apr 2016 14:06:42 -0500 Subject: [PATCH] elpa-packages: update package generation instructions --- .../editors/emacs-modes/elpa-packages.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/editors/emacs-modes/elpa-packages.nix b/pkgs/applications/editors/emacs-modes/elpa-packages.nix index 29cb586484a2..f0a10c3ee429 100644 --- a/pkgs/applications/editors/emacs-modes/elpa-packages.nix +++ b/pkgs/applications/editors/emacs-modes/elpa-packages.nix @@ -2,12 +2,13 @@ # Updating -To update the list of packages from ELPA, +To update the list of packages from MELPA, -1. Clone https://github.com/ttuegel/emacs2nix -2. Run `./elpa-packages.sh` from emacs2nix -3. Copy the new elpa-packages.json file into Nixpkgs -4. `git commit -m "elpa-packages $(date -Idate)"` +1. Clone https://github.com/ttuegel/emacs2nix. +2. Run `./elpa-packages.sh` from emacs2nix. +3. Copy the new `elpa-generated.nix` file into Nixpkgs. +4. Check for evaluation errors: `nix-instantiate ./. -A emacsPackagesNg.elpaPackages`. +5. `git add pkgs/applications/editors/emacs-modes/elpa-generated.nix && git commit -m "elpa-packages $(date -Idate)"` */