{ description = "Professional website"; inputs = { flake-utils.url = "github:numtide/flake-utils"; resumePackage.url = "path:/home/greg/code/active/resume"; }; outputs = { self, nixpkgs, flake-utils, resumePackage }: { formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt; } // flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { packages.default = pkgs.stdenv.mkDerivation { name = "greg.everydayimshuflin.com-website"; src = ./.; installPhase = '' mkdir -p $out/resume cp index.html $out cp style.css $out cp self.jpg $out cp favicon.png $out cp ${resumePackage}/*.pdf $out/resume ''; }; } ); }