Skip to content

Automatically generate Nix expressions for Emacs packages

License

Notifications You must be signed in to change notification settings

jcs-PR/emacs2nix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emacs2nix

Automatically generate Nix expressions for Emacs packages.

Be sure to run

git submodule update --init

before building this package!

The scripts elpa-packages.sh, nongnu-packages.sh, nongnu-devel-packages.sh, melpa-packages.sh, and melpa-stable-packages.sh regenerate each package set. They require Nix to build.

To update the ELPA packages, run

# For ELPA packages
./elpa-packages.sh \
  -o $NIXPKGS/pkgs/applications/editors/emacs-modes/elpa-generated.nix \
  --names names.nix

$NIXPKGS should be the path to the Nixpkgs clone which you are updating.

To update the MELPA packages, run

# Use melpa-stable-packages.sh to update melpa-stable-generated.nix instead
./melpa-packages.sh \
  --melpa $MELPA \
  -o $NIXPKGS/pkgs/applications/editors/emacs-modes/melpa-generated.nix \
  --names names.nix

$MELPA should be tho path to a clone of the MELPA repository.

To run one of the elpa2nix or melpa2nix commands outside the shell script wrappers, first enter a Nix shell with the command

nix-shell -A env

which will ensure that all the runtime dependencies are present.

About

Automatically generate Nix expressions for Emacs packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 87.1%
  • Nix 7.9%
  • Emacs Lisp 4.1%
  • Shell 0.9%