~misterio/veraoPFPA-Listas

ref: 81abb0aa9bb169526327b4c3063ff26f6dca2892 veraoPFPA-Listas/default.nix -rw-r--r-- 403 bytes
81abb0aaGabriel Fontes adiciona zip e executaveis na derivação 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ stdenv, pandoc, texlive, zip, ghc }: stdenv.mkDerivation {
  pname = "notas-verao-pfpa";
  version = "1.0";
  src = ./.;
  buildInputs = [ pandoc texlive.combined.scheme-small zip ghc ];
  buildPhase = ''
    pandoc lista.md -o lista.pdf
    zip GabrielSilvaFontes.zip 9-a.hs 9-b.hs lista.pdf
    ghc 9-a.hs
    ghc 9-b.hs
  '';
  installPhase = ''
    mkdir -p $out
    cp *.zip 9-a 9-b $out
  '';
}