{ description = "cl-yag static site generator"; inputs = { cl-nix-lite.url = "github:hraban/cl-nix-lite"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, cl-nix-lite, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}.extend cl-nix-lite.overlays.default; mm-sh = pkgs.writeShellScriptBin "mm-sh" '' #!/bin/sh cat $2 |perl -0pe 's/\[\^(.*?)\]\:(.*?)(\n\n)/\\2\<\/span\>/gms' > $1.tmp # perl -0pe 's/\[\^(.*?)\][^:]/\