1. Remove freetype dependency:
- was not being used by build
- trying to enable freetype gives nontrivial error
'gdoTextWidth: Problem doing text layout (GDFONTPATH=)'
2. Correctly link manpages by specifying 'outputs'.
3. Separate nativeBuildInputs from buildInputs
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.