Unverified Commit 78e4a5a4 authored by Arnout Engelen's avatar Arnout Engelen
Browse files

terminus_font: reliably generate fontdir

`fonts.dir` and `fonts.scale` are created by `make fontdir` by running
`mkfontscale` and `mkfontdir` for the output directory, which means the
`install` targets must have completed first. This is not known to `make`,
though, so we need to disable paralellism to make sure the jobs are
executed sequentially.
parent 645bc49f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
  '';

  installTargets = [ "install" "install-otb" "fontdir" ];
  # fontdir depends on the previous two targets, but this is not known
  # to make, so we need to disable parallelism:
  enableParallelInstalling = false;

  meta = with lib; {
    description = "A clean fixed width font";