WebHooker/flake.nix

37 lines
756 B
Nix

{
description = "Cloudflare Worker GitHub webhook Discord Gateway";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
bun
nodejs_22
biome
nixfmt
];
shellHook = ''
echo "WebHooker devShell "
'';
};
formatter = nixpkgs.legacyPackages.${system}.nixfmt;
}
);
}