1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

libexpr: Speed up builds by using precompiled headers

This commit is contained in:
Sergei Zimmerman 2025-07-20 21:33:15 +03:00
parent 33d031095f
commit af6c84b523
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -178,6 +178,7 @@ this_library = library(
link_args: linker_export_flags,
prelink : true, # For C++ static initializers
install : true,
cpp_pch : ['pch/precompiled-headers.hh']
)
install_headers(headers, subdir : 'nix/expr', preserve_path : true)

View file

@ -0,0 +1 @@
#include "nix/expr/eval.hh"