+/CV

resume

git clone https://git.julia.blue/+/CV

Julia RyanWorkshop with Jane3a9a45b

master
779 B26 linesraw
1{
2  inputs.utils.url = "github:numtide/flake-utils";
3  outputs = { self, nixpkgs, utils }:
4    utils.lib.eachDefaultSystem ( system: let
5      pkgs = nixpkgs.legacyPackages.${system};
6      tex = pkgs.texlive.combine {
7        inherit (pkgs.texlive) scheme-small cm-super moderncv fontawesome5;
8      };
9    in {
10      packages.default = pkgs.stdenvNoCC.mkDerivation {
11        name = "resume";
12        src = self;
13        nativeBuildInputs = [ tex ];
14        buildPhase = "pdflatex -interaction=nonstopmode resume.tex";
15        installPhase = ''
16          mkdir -p $out
17          cp resume.pdf $out/
18        '';
19      };
20      devShell = pkgs.mkShell {
21        inputsFrom = [ self.packages.${system}.default ];
22        packages = with pkgs; [ entr typst ];
23      };
24    }
25  );
26}