mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 05:29:20 +03:00
emacs: do formatting in the elisp update scripts
This commit is contained in:
parent
38f4cf05ff
commit
bb4d6cad3e
4 changed files with 10 additions and 3 deletions
|
@ -13,6 +13,7 @@ pkgs.mkShell {
|
||||||
|
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.bash
|
pkgs.bash
|
||||||
|
pkgs.nixfmt-rfc-style
|
||||||
];
|
];
|
||||||
|
|
||||||
EMACS2NIX = src;
|
EMACS2NIX = src;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#! /usr/bin/env nix-shell
|
#! /usr/bin/env nix-shell
|
||||||
#! nix-shell --show-trace ./emacs2nix.nix -i bash
|
#! 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"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#! /usr/bin/env nix-shell
|
#! /usr/bin/env nix-shell
|
||||||
#! nix-shell --show-trace ./emacs2nix.nix -i bash
|
#! 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"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#! /usr/bin/env nix-shell
|
#! /usr/bin/env nix-shell
|
||||||
#! nix-shell --show-trace ./emacs2nix.nix -i bash
|
#! 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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue