mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
experimental-features.hh: Don't include json-utils.hh
This caused nlohmann/json.hpp to leak into a lot of compilation units, which is slow (when not using precompiled headers). Cuts build time from 46m24s to 42m5s (real time with -j24: 2m42s to 2m24s).
This commit is contained in:
parent
4e8a9e0ed4
commit
15e5684884
11 changed files with 25 additions and 12 deletions
|
@ -1,4 +1,3 @@
|
|||
#include <nlohmann/json.hpp>
|
||||
#include <gtest/gtest.h>
|
||||
#include <optional>
|
||||
|
||||
|
@ -9,6 +8,7 @@
|
|||
#include "tests/characterization.hh"
|
||||
#include "parsed-derivations.hh"
|
||||
#include "types.hh"
|
||||
#include "json-utils.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue