{inputs={nixpkgs.url="github:nixos/nixpkgs";templ={url="github:a-h/templ";inputs.nixpkgs.follows="nixpkgs";};};outputs={self,nixpkgs,templ,}@inputs:letsystem="x86_64-linux";pkgs=nixpkgs.legacyPackages.${system};templ=inputs.templ.packages.${system}.templ;in{packages.${system}.default=pkgs.buildGoModule{pname="blog.jolheiser.com";version="blog";src=./.;vendorHash=nixpkgs.lib.fileContents./go.mod.sri;nativeBuildInputs=[templ];excludedPackages=".";postBuild=''
export BLOG_REF=${self.revor"main"} go generate
mv out $out
'';};devShells.default=pkgs.mkShell{nativeBuildInputs=withpkgs;[gotemplvscode-langservers-extracted];};};}