24 lines
450 B
Nix
24 lines
450 B
Nix
{ pkgs, ... }:
|
|
{
|
|
bob-nvim = pkgs.callPackage ./bob-nvim.nix {
|
|
rustPlatform = pkgs.rustPlatform;
|
|
fetchFromGitHub = pkgs.fetchFromGitHub;
|
|
};
|
|
Fmt = pkgs.writeShellApplication {
|
|
name = "Fmt";
|
|
runtimeInputs = with pkgs; [
|
|
stylua
|
|
gnugrep
|
|
nixfmt-rfc-style
|
|
nodePackages.prettier
|
|
shfmt
|
|
];
|
|
text = (
|
|
''
|
|
#!${pkgs.bash}/bin/bash
|
|
''
|
|
+ builtins.readFile ./fmt.bash
|
|
);
|
|
};
|
|
}
|