{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/0e19daa510e47a40e06257e205965f3b96ce0ac9.tar.gz") {}}: let stdenv = pkgs.stdenv; gitignoreSrc = pkgs.fetchFromGitHub { owner = "hercules-ci"; repo = "gitignore.nix"; rev = "a20de23b925fd8264fd7fad6454652e142fd7f73"; sha256 = "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8="; }; resumeFilename = "Greg Shuflin Resume.pdf"; in stdenv.mkDerivation { name = "Greg Shuflin Resume"; nativeBuildInputs = [pkgs.typst]; #src = gitignoreSrc ./.; src = ./.; buildPhase = '' typst compile resume.typ "${resumeFilename}" ''; installPhase = '' mkdir -p $out mv "${resumeFilename}" $out ''; }