{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs }: {
devShells = nixpkgs.lib.genAttrs [ "x86_64-linux" ] (system:
let
pkgs = nixpkgs.legacyPackages.${system}.pkgs;
# https://github.com/NixOS/nixpkgs/blob/340a3345a23ad684a8c328eecc20bb0437e6954d/pkgs/development/haskell-modules/configuration-nix.nix#L1311
tailwind = pkgs.nodePackages.tailwindcss.overrideAttrs
(o: { plugins = [ pkgs.nodePackages."@tailwindcss/typography" ]; });
in {
default = pkgs.mkShell {
buildInputs = [
tailwind
pkgs.zola
pkgs.nodePackages."@tailwindcss/language-server"
];
};
});
};
}