{ description = "florp.social/about"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; }; outputs = { self, nixpkgs }: let inherit (nixpkgs) lib; eachSystem = lib.genAttrs [ "x86_64-linux" "aarch64-linux" ]; in { packages = eachSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { default = pkgs.runCommandNoCC "about.html" { src = ./about.md; nativeBuildInputs = with pkgs; [ comrak ]; } '' comrak --smart --unsafe --output $out $src ''; }); }; }