switch nixfmt to alejandra to format nix code

This commit is contained in:
ulic-youthlic 2025-04-28 21:20:32 +08:00
parent 582bdb783c
commit e44894c666
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
120 changed files with 1163 additions and 1237 deletions

View file

@ -4,13 +4,11 @@
inputs,
callPackage,
...
}:
let
}: let
inherit (inputs.helix.packages."${pkgs.system}") helix;
runtime = callPackage ./runtime.nix { };
runtime = callPackage ./runtime.nix {};
runtimeInputs = (
with pkgs;
[
with pkgs; [
idris2Packages.idris2Lsp
lua-language-server
bash-language-server
@ -30,7 +28,7 @@ let
marksman
nixd
deno
nixfmt-rfc-style
alejandra
vscode-langservers-extracted
fish-lsp
gopls
@ -45,16 +43,16 @@ let
]
);
in
pkgs.symlinkJoin {
name = "helix-wrapped";
paths = [ helix ];
inherit (helix) meta;
buildInputs = [
pkgs.makeWrapper
];
postBuild = ''
wrapProgram $out/bin/hx \
--suffix PATH : ${lib.makeBinPath runtimeInputs} \
--set HELIX_RUNTIME ${runtime}
'';
}
pkgs.symlinkJoin {
name = "helix-wrapped";
paths = [helix];
inherit (helix) meta;
buildInputs = [
pkgs.makeWrapper
];
postBuild = ''
wrapProgram $out/bin/hx \
--suffix PATH : ${lib.makeBinPath runtimeInputs} \
--set HELIX_RUNTIME ${runtime}
'';
}