From 1195d52ad7587390f26447302924473b7a11996c Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Mon, 6 Sep 2021 16:45:27 -0300 Subject: [PATCH] Update comments about automatic generation of elisp packages --- .../editors/emacs/elisp-packages/elpa-packages.nix | 2 +- .../editors/emacs/elisp-packages/nongnu-packages.nix | 5 +++-- .../editors/emacs/elisp-packages/org-packages.nix | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix index 495a3cbfd0f5..b7f861a4cd7a 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix @@ -6,7 +6,7 @@ To update the list of packages from MELPA, 1. Run `./update-elpa`. 2. Check for evaluation errors: - `nix-instantiate ../../../../../ -A emacs.pkgs.elpaPackages`. + env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.elpaPackages 3. Run `git commit -m "elpa-packages $(date -Idate)" -- elpa-generated.nix` ## Update from overlay diff --git a/pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix index 66ca61499d96..dcd7e92c642d 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix @@ -5,8 +5,9 @@ To update the list of packages from nongnu (ELPA), 1. Run `./update-nongnu`. -2. Check for evaluation errors: `nix-instantiate ../../../../.. -A emacs.pkgs.nongnuPackages`. -3. Run `git commit -m "org-packages $(date -Idate)" -- nongnu-generated.nix` +2. Check for evaluation errors: + env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../.. -A emacs.pkgs.nongnuPackages +3. Run `git commit -m "nongnu-packages $(date -Idate)" -- nongnu-generated.nix` */ diff --git a/pkgs/applications/editors/emacs/elisp-packages/org-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/org-packages.nix index dcddbe71af8b..12680336e0e8 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/org-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/org-packages.nix @@ -5,7 +5,8 @@ To update the list of packages from Org (ELPA), 1. Run `./update-org`. -2. Check for evaluation errors: `nix-instantiate ../../../../.. -A emacs.pkgs.orgPackages`. +2. Check for evaluation errors: + env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../.. -A emacs.pkgs.orgPackages 3. Run `git commit -m "org-packages $(date -Idate)" -- org-generated.nix` */