source $stdenv/setup # Compile Sass sources and get resume file mkdir build && cd build mkdir css && sassc $src/scss/style.scss css/style.css mkdir font && cp $src/font/* font/ cp $src/resume.html resume.html mkdir $out # Save generated files cp resume.html $out mkdir $out/css && cp ./css/style.css $out/css chromium --disable-gpu --headless --print-to-pdf="$out/Resume-Danila-Fedorin.pdf" file://$(pwd)/resume.html