Skip to content

Commit

Permalink
emacsPackages: remove update instructions from *-packages.nix files
Browse files Browse the repository at this point in the history
They will be gathered in a more fitting documentation.
  • Loading branch information
AndersonTorres committed Nov 1, 2024
1 parent d755534 commit e52e31e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 99 deletions.
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
/*
# Updating
To update the list of packages from ELPA,
1. Run `./update-elpa-devel`.
2. Check for evaluation errors:
# "../../../../../" points to the default.nix from root of Nixpkgs tree
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.elpaDevelPackages
3. Run `git commit -m "elpa-devel-packages $(date -Idate)" -- elpa-devel-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, pkgs, buildPackages }:

self: let
Expand Down
24 changes: 0 additions & 24 deletions pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
/*
# Updating
To update the list of packages from ELPA,
1. Run `./update-elpa`.
2. Check for evaluation errors:
# "../../../../../" points to the default.nix from root of Nixpkgs tree
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
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, pkgs, buildPackages }:

self: let
Expand Down
25 changes: 0 additions & 25 deletions pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,3 @@
/*
# Updating
To update the list of packages from MELPA,
1. Run `./update-melpa`
2. Check for evaluation errors:
# "../../../../../" points to the default.nix from root of Nixpkgs tree
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaStablePackages
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaPackages
3. Run `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.
*/

let
# Read ./recipes-archive-melpa.json in an outer let to make sure we only do this once.
defaultArchive = builtins.fromJSON (builtins.readFile ./recipes-archive-melpa.json);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
/*
# Updating
To update the list of packages from nongnu devel (ELPA),
1. Run `./update-nongnu-devel`.
2. Check for evaluation errors:
# "../../../../../" points to the default.nix from root of Nixpkgs tree
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.nongnuDevelPackages
3. Run `git commit -m "nongnu-devel-packages $(date -Idate)" -- nongnu-devel-generated.nix`
*/

{
lib,
pkgs,
Expand Down
14 changes: 0 additions & 14 deletions pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
/*
# Updating
To update the list of packages from nongnu (ELPA),
1. Run `./update-nongnu`.
2. Check for evaluation errors:
# "../../../../../" points to the default.nix from root of Nixpkgs tree
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.nongnuPackages
3. Run `git commit -m "nongnu-packages $(date -Idate)" -- nongnu-generated.nix`
*/

{ lib, pkgs, buildPackages }:

self: let
Expand Down

0 comments on commit e52e31e

Please sign in to comment.