diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-01 17:56:49 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-08-01 17:56:49 +0530 |
commit | d820ff61e3d269a43002b0331ff8dde3ce4d5122 (patch) | |
tree | ed6e71254785e6143b1198ec20d08837756996d1 /flake.nix | |
parent | 55d03b5284b6a402381f7c7d1d4c6d6a262b3aad (diff) |
tailwind: init
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -11,7 +11,18 @@ msg = msgpkgs.packages.x86_64-linux.default; in { devShells.x86_64-linux.default = pkgs.mkShell { - buildInputs = [ msg ]; + buildInputs = with pkgs; [ + http-server + tailwindcss_4 + watchman + ] ++ [ + (pkgs.writeShellScriptBin "css" '' + tailwindcss -i tailwind_in.css -o assets/stylesheet.css -m $@ + '') + (pkgs.writeShellScriptBin "serve" '' + http-server dist -c-1 + '') + ] ++ [ msg ]; }; }; } |