Skip to content

Commit

Permalink
emacsPackages: remove instructions from *-packages.nix files
Browse files Browse the repository at this point in the history
They will be put in a future README.md file.
  • Loading branch information
AndersonTorres committed Oct 26, 2024
1 parent 0b7aacf commit 5293db1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 99 deletions.
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
/*
# 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.
*/

# Update instructions at README.md
{ lib, pkgs, buildPackages }:

self: let
Expand Down
25 changes: 1 addition & 24 deletions pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
/*
# 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.
*/

#Update instructions at README.md
{ lib, pkgs, buildPackages }:

self: let
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,4 @@
/*
# 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.
*/

#Update instructions at README.md
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,4 @@
/*
# 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`
*/

# Update instructions at README.md
{
lib,
pkgs,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
/*
# 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`
*/

# Update instructions at README.md
{ lib, pkgs, buildPackages }:

self: let
Expand Down

0 comments on commit 5293db1

Please sign in to comment.