{ inputs.nixpkgs.url = "github:NixOS/nixpkgs/23.11"; outputs = { self, nixpkgs }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; pyenv = pkgs.python3.withPackages (pypkgs: [ pypkgs.markdown pypkgs.beautifulsoup4 pypkgs.feedgen ]); in { packages.${system} = { inherit pyenv; }; devShells.${system} = { default = pkgs.mkShell { packages = [ pyenv pkgs.inotify-tools pkgs.rsync pkgs.pagefind ]; shellHook = '' echo "make build - compile src/ into out/ with pagefind" echo "make clean - delete out/ and srv/" echo "make watch - rebuild on changes" echo "make serve - serve out/" echo "make pubdate - replace 'now' with the current date" echo "make upload - build to srv/ and upload to alogoulogoi" ''; }; }; }; }