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.
This commit is contained in:
Arnout Engelen 2023-04-23 12:31:11 +02:00
parent 645bc49f34
commit 78e4a5a474
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA

View file

@ -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";