1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
{ lib , stdenv , typst }: stdenv.mkDerivation { pname = "phd_fluid_mechanics_report"; version = "0.0.0"; src = ../typst; nativeBuildInputs = [ typst ]; buildPhase = '' typst compile report.typ out.pdf ''; installPhase = '' mkdir -p $out mv out.pdf $out/report.pdf ''; }