mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +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:
parent
0a10854f85
commit
bcde5456cc
5 changed files with 6 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include "path.hh"
|
||||
#include "types.hh"
|
||||
#include "hash.hh"
|
||||
#include "store-api.hh"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
@ -76,6 +76,7 @@ struct Derivation : BasicDerivation
|
|||
|
||||
class Store;
|
||||
|
||||
enum RepairFlag : bool { NoRepair = false, Repair = true };
|
||||
|
||||
/* Write a derivation to the Nix store, and return its path. */
|
||||
StorePath writeDerivation(ref<Store> store,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue