This commit is contained in:
zack 2024-10-18 23:54:34 -04:00
parent 613ec2c799
commit 1826ef8f67
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -38,12 +38,18 @@
cp resume.pdf $out/
'';
};
pdf = pkgs.runCommand "resume-pdf" {} ''
mkdir -p $out/nix-support
cp ${self.packages.${pkgs.system}.default}/resume.pdf $out/
echo "file pdf $out/resume.pdf" > $out/nix-support/hydra-build-products
'';
});
hydraJobs = let
system = "x86_64-linux";
in {
build = self.packages.${system}.default;
pdf = self.packages.${system}.pdf;
};
devShells = eachSystem (pkgs: {