Use upstream json_fwd.hpp to speed up compilation
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include "lockfile.hh"
|
||||
#include "store-api.hh"
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
namespace nix::flake {
|
||||
|
||||
LockedInput::LockedInput(const nlohmann::json & json)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "flakeref.hh"
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <nlohmann/json_fwd.hpp>
|
||||
|
||||
namespace nix {
|
||||
class Store;
|
||||
|
||||
Reference in New Issue
Block a user