1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +02:00

Flip dependency so store-api.hh includes derivations.hh

I think it makes more sense to define the data model (derivations),
before the operations (store api).
This commit is contained in:
John Ericson 2020-03-21 11:07:16 -04:00 committed by John Ericson
parent 0a10854f85
commit bcde5456cc
5 changed files with 6 additions and 7 deletions

View file

@ -8,6 +8,7 @@
#include "sync.hh"
#include "globals.hh"
#include "config.hh"
#include "derivations.hh"
#include <atomic>
#include <limits>
@ -30,15 +31,12 @@ MakeError(SubstituteGone, Error);
MakeError(SubstituterDisabled, Error);
struct BasicDerivation;
struct Derivation;
class FSAccessor;
class NarInfoDiskCache;
class Store;
class JSONPlaceholder;
enum RepairFlag : bool { NoRepair = false, Repair = true };
enum CheckSigsFlag : bool { NoCheckSigs = false, CheckSigs = true };
enum SubstituteFlag : bool { NoSubstitute = false, Substitute = true };
enum AllowInvalidFlag : bool { DisallowInvalid = false, AllowInvalid = true };