2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-19 10:34:54 +00:00

Merge pull request from linj-fork/pr/format-generated-elisp-code

emacs: format generated code for elisp packages
This commit is contained in:
Lin Jian 2024-07-30 19:09:11 +08:00 committed by GitHub
commit 7abe27c0cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 26615 additions and 18434 deletions

View File

@ -13,6 +13,7 @@ pkgs.mkShell {
packages = [
pkgs.bash
pkgs.nixfmt-rfc-style
];
EMACS2NIX = src;

View File

@ -1,4 +1,6 @@
#! /usr/bin/env nix-shell
#! nix-shell --show-trace ./emacs2nix.nix -i bash
exec elpa-packages.sh --names $EMACS2NIX/names.nix -o elpa-generated.nix
output="elpa-generated.nix"
elpa-packages.sh --names $EMACS2NIX/names.nix -o "$output"
nixfmt "$output"

View File

@ -1,4 +1,6 @@
#! /usr/bin/env nix-shell
#! nix-shell --show-trace ./emacs2nix.nix -i bash
exec elpa-devel-packages.sh --names $EMACS2NIX/names.nix -o elpa-devel-generated.nix
output="elpa-devel-generated.nix"
elpa-devel-packages.sh --names $EMACS2NIX/names.nix -o "$output"
nixfmt "$output"

View File

@ -1,4 +1,6 @@
#! /usr/bin/env nix-shell
#! nix-shell --show-trace ./emacs2nix.nix -i bash
exec nongnu-packages.sh --names $EMACS2NIX/names.nix -o nongnu-generated.nix
output="nongnu-generated.nix"
nongnu-packages.sh --names $EMACS2NIX/names.nix -o "$output"
nixfmt "$output"