nix build: trying to get pkgs/xo-indentlog.nix w/ quiet fontconfig
All checks were successful
CI / smoke-test (push) Successful in 24s
All checks were successful
CI / smoke-test (push) Successful in 24s
This commit is contained in:
parent
74ff0f244c
commit
058655cb47
1 changed files with 3 additions and 2 deletions
|
|
@ -28,6 +28,9 @@ stdenv.mkDerivation (finalattrs:
|
|||
inherit buildExamples;
|
||||
inherit doCheck;
|
||||
|
||||
preBuild = lib.optionalString buildDocs ''
|
||||
export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf
|
||||
'';
|
||||
|
||||
postBuild = lib.optionalString buildDocs ''
|
||||
cmake --build . -- docs
|
||||
|
|
@ -46,6 +49,4 @@ stdenv.mkDerivation (finalattrs:
|
|||
python3Packages.sphinxcontrib-ditaa
|
||||
python3Packages.sphinxcontrib-plantuml
|
||||
];
|
||||
} // lib.optionalAttrs buildDocs {
|
||||
FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue