Use upstream json_fwd.hpp to speed up compilation

This commit is contained in:
Eelco Dolstra
2019-10-21 22:11:21 +02:00
parent cb1a79a96a
commit 45b740c18b
6 changed files with 75 additions and 13 deletions
+2
View File
@@ -1,6 +1,8 @@
#include "lockfile.hh"
#include "store-api.hh"
#include <nlohmann/json.hpp>
namespace nix::flake {
LockedInput::LockedInput(const nlohmann::json & json)
+1 -1
View File
@@ -2,7 +2,7 @@
#include "flakeref.hh"
#include <nlohmann/json.hpp>
#include <nlohmann/json_fwd.hpp>
namespace nix {
class Store;