Skip to content

Commit 60cc068

Browse files
emacsPackages: remove update instructions from *-packages.nix files
They will be gathered in a more fitting documentation.
1 parent 1bb6035 commit 60cc068

File tree

5 files changed

+0
-99
lines changed

5 files changed

+0
-99
lines changed

pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix

-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
/*
2-
3-
# Updating
4-
5-
To update the list of packages from ELPA,
6-
7-
1. Run `./update-elpa-devel`.
8-
2. Check for evaluation errors:
9-
# "../../../../../" points to the default.nix from root of Nixpkgs tree
10-
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.elpaDevelPackages
11-
3. Run `git commit -m "elpa-devel-packages $(date -Idate)" -- elpa-devel-generated.nix`
12-
13-
## Update from overlay
14-
15-
Alternatively, run the following command:
16-
17-
./update-from-overlay
18-
19-
It will update both melpa and elpa packages using
20-
https://github.com/nix-community/emacs-overlay. It's almost instantenous and
21-
formats commits for you.
22-
23-
*/
24-
251
{ lib, pkgs, buildPackages }:
262

273
self: let

pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix

-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
/*
2-
3-
# Updating
4-
5-
To update the list of packages from ELPA,
6-
7-
1. Run `./update-elpa`.
8-
2. Check for evaluation errors:
9-
# "../../../../../" points to the default.nix from root of Nixpkgs tree
10-
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.elpaPackages
11-
3. Run `git commit -m "elpa-packages $(date -Idate)" -- elpa-generated.nix`
12-
13-
## Update from overlay
14-
15-
Alternatively, run the following command:
16-
17-
./update-from-overlay
18-
19-
It will update both melpa and elpa packages using
20-
https://github.com/nix-community/emacs-overlay. It's almost instantenous and
21-
formats commits for you.
22-
23-
*/
24-
251
{ lib, pkgs, buildPackages }:
262

273
self: let

pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix

-25
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,3 @@
1-
/*
2-
3-
# Updating
4-
5-
To update the list of packages from MELPA,
6-
7-
1. Run `./update-melpa`
8-
2. Check for evaluation errors:
9-
# "../../../../../" points to the default.nix from root of Nixpkgs tree
10-
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaStablePackages
11-
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaPackages
12-
3. Run `git commit -m "melpa-packages $(date -Idate)" recipes-archive-melpa.json`
13-
14-
## Update from overlay
15-
16-
Alternatively, run the following command:
17-
18-
./update-from-overlay
19-
20-
It will update both melpa and elpa packages using
21-
https://github.com/nix-community/emacs-overlay. It's almost instantenous and
22-
formats commits for you.
23-
24-
*/
25-
261
let
272
# Read ./recipes-archive-melpa.json in an outer let to make sure we only do this once.
283
defaultArchive = builtins.fromJSON (builtins.readFile ./recipes-archive-melpa.json);

pkgs/applications/editors/emacs/elisp-packages/nongnu-devel-packages.nix

-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
/*
2-
# Updating
3-
4-
To update the list of packages from nongnu devel (ELPA),
5-
6-
1. Run `./update-nongnu-devel`.
7-
2. Check for evaluation errors:
8-
# "../../../../../" points to the default.nix from root of Nixpkgs tree
9-
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.nongnuDevelPackages
10-
3. Run `git commit -m "nongnu-devel-packages $(date -Idate)" -- nongnu-devel-generated.nix`
11-
*/
12-
131
{
142
lib,
153
pkgs,

pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix

-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
/*
2-
3-
# Updating
4-
5-
To update the list of packages from nongnu (ELPA),
6-
7-
1. Run `./update-nongnu`.
8-
2. Check for evaluation errors:
9-
# "../../../../../" points to the default.nix from root of Nixpkgs tree
10-
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.nongnuPackages
11-
3. Run `git commit -m "nongnu-packages $(date -Idate)" -- nongnu-generated.nix`
12-
13-
*/
14-
151
{ lib, pkgs, buildPackages }:
162

173
self: let

0 commit comments

Comments
 (0)