Add Portuguese CV and flake build target
This commit is contained in:
parent
5305224b2b
commit
ccb2c54ccd
2 changed files with 194 additions and 0 deletions
14
flake.nix
14
flake.nix
|
|
@ -35,6 +35,20 @@
|
|||
'';
|
||||
};
|
||||
|
||||
packages.cv-pt = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "william-hai-cv-pt";
|
||||
src = ./.;
|
||||
nativeBuildInputs = with pkgs; [ typst ] ++ fonts;
|
||||
FONTCONFIG_FILE = fontconf;
|
||||
buildPhase = ''
|
||||
typst compile cv-pt.typ cv-pt.pdf
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp cv-pt.pdf $out/
|
||||
'';
|
||||
};
|
||||
|
||||
packages.default = self.packages.${system}.cv;
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue