diff options
author | Arnout Engelen <arnout@bzzt.net> | 2023-04-23 12:31:11 +0200 |
---|---|---|
committer | Arnout Engelen <arnout@bzzt.net> | 2023-04-23 12:31:11 +0200 |
commit | 78e4a5a474b639eacdda7dd21e75d7f197e77c78 (patch) | |
tree | 50eebc37c5ad797c556c1bea2674353d1cd4c3e5 | |
parent | 645bc49f34fa8eff95479f0345ff57e55b53437e (diff) | |
download | nixpkgs-78e4a5a474b639eacdda7dd21e75d7f197e77c78.tar nixpkgs-78e4a5a474b639eacdda7dd21e75d7f197e77c78.tar.gz nixpkgs-78e4a5a474b639eacdda7dd21e75d7f197e77c78.tar.bz2 nixpkgs-78e4a5a474b639eacdda7dd21e75d7f197e77c78.tar.lz nixpkgs-78e4a5a474b639eacdda7dd21e75d7f197e77c78.tar.xz nixpkgs-78e4a5a474b639eacdda7dd21e75d7f197e77c78.tar.zst nixpkgs-78e4a5a474b639eacdda7dd21e75d7f197e77c78.zip |
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.
-rw-r--r-- | pkgs/data/fonts/terminus-font/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/data/fonts/terminus-font/default.nix b/pkgs/data/fonts/terminus-font/default.nix index cbda0cc100c..5b405c12405 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"; |