{ description = "GIT tutorial"; inputs.archivable.url = github:SuzanneSoy/archivable/c35dc8f760f5640e0c769a6814568d6fe71e5726; outputs = { self, nixpkgs, archivable }: { defaultPackage.x86_64-linux = self.packages.x86_64-linux.website; packages.x86_64-linux.website = let pkgs = import nixpkgs { system = "x86_64-linux"; }; in pkgs.stdenv.mkDerivation { name = "git-tutorial"; src = self; buildInputs = with pkgs; [kubo jq nodejs-slim imagemagick]; buildPhase = '' # TODO: remove files ignored by .ipfsignore during build process convert -background none favicon.svg -define icon:auto-resize=64,48,32,16 favicon.ico mkdir "$out" cp -ai . "$out/www" touch "$out/www/sitemap.html" ( cd "$out/www"; echo '