default.nix 254 B

123456789101112
  1. { nixpkgs ? import <nixpkgs>{} }:
  2. nixpkgs.stdenv.mkDerivation rec {
  3. name = "cookbook";
  4. src = ./.;
  5. buildInputs = [ nixpkgs.texlive.combined.scheme-full ];
  6. buildPhase = ./builder.sh;
  7. installPhase = ''
  8. mkdir $out
  9. cp document.pdf $out/
  10. '';
  11. }