Add build pipeline to simplify future builds

This commit is contained in:
Andrew R. M 2022-11-23 11:01:18 -05:00
parent 62eaa5a298
commit 25231ff733
4 changed files with 18 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
resume.dvi
resume.log

3
build-resume Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
nix-shell --run 'texi2pdf resume.tex'

6
nixpkgs.nix Normal file
View File

@ -0,0 +1,6 @@
let
channel-ref = "nixos-22.05";
in
import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/${channel-ref}.tar.gz";
}) {}

7
shell.nix Normal file
View File

@ -0,0 +1,7 @@
with import (./nixpkgs.nix);
pkgs.mkShell {
buildInputs = [
pandoc
texlive.combined.scheme-small
];
}