From 78e4a5a474b639eacdda7dd21e75d7f197e77c78 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sun, 23 Apr 2023 12:31:11 +0200 Subject: 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. --- pkgs/data/fonts/terminus-font/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/data') diff --git a/pkgs/data/fonts/terminus-font/default.nix b/pkgs/data/fonts/terminus-font/default.nix index cbda0cc100c3a..5b405c12405f3 100644 --- a/pkgs/data/fonts/terminus-font/default.nix +++ b/pkgs/data/fonts/terminus-font/default.nix @@ -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"; -- cgit 1.4.1