mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
1cb9fc74b7
svn path=/nixpkgs/trunk/; revision=9195
19 lines
525 B
Bash
19 lines
525 B
Bash
source $stdenv/setup
|
|
|
|
buildPhase=true
|
|
|
|
installPhase=myInstallPhase
|
|
myInstallPhase() {
|
|
ensureDir "$out/share/texmf-nix/tex/latex/polytable"
|
|
ensureDir "$out/share/texmf-nix/doc/latex/polytable"
|
|
latex polytable.ins
|
|
pdflatex polytable.dtx
|
|
pdflatex polytable.dtx
|
|
cp polytable.sty "$out/share/texmf-nix/tex/latex/polytable"
|
|
cp polytable.pdf "$out/share/texmf-nix/doc/latex/polytable"
|
|
ensureDir "$out/nix-support"
|
|
echo "$propagatedUserEnvPackages" > "$out/nix-support/propagated-user-env-packages"
|
|
}
|
|
|
|
genericBuild
|