From 0b32b9110dd406ca052cfd7348f0ddd7e35b048e Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 4 Sep 2022 16:21:18 +0200 Subject: Use esbuild to produce JS --- flake.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..9ba146e --- /dev/null +++ b/flake.nix @@ -0,0 +1,22 @@ +{ + inputs = { + nixpkgs.url = "github:nixos/nixpkgs"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils }: + flake-utils.lib.eachDefaultSystem + (system: + let pkgs = nixpkgs.legacyPackages.${system}; + in { devShell = pkgs.mkShell { + buildInputs = with pkgs; [ + nodePackages.typescript + python3 + python3Packages.beautifulsoup4 + psmisc # fuser + esbuild + watchexec + ]; + }; } + ); +} -- cgit v1.2.3