stimulus-esbuild-example/flake.nix

20 lines
472 B
Nix
Raw Permalink Normal View History

2024-03-29 00:50:46 +00:00
{
description = "An example application that uses Stimulus with esbuild.";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
inherit (pkgs) mkShell;
in {
devShells.${system}.default = mkShell {
buildInputs = with pkgs; [ just nodejs simple-http-server ];
};
formatter.${system} = pkgs.nixfmt;
};
}