mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 15:02:42 +01:00
Move header outside Unix-only portion
We'll neeed some definitions elsewhere
This commit is contained in:
parent
8463fef161
commit
bce29ab2cf
3 changed files with 3 additions and 1 deletions
|
|
@ -188,7 +188,9 @@ struct DerivationBuilder : RestrictionContext
|
|||
virtual void killSandbox(bool getStats) = 0;
|
||||
};
|
||||
|
||||
#ifndef _WIN32 // TODO enable `DerivationBuilder` on Windows
|
||||
std::unique_ptr<DerivationBuilder> makeDerivationBuilder(
|
||||
LocalStore & store, std::unique_ptr<DerivationBuilderCallbacks> miscMethods, DerivationBuilderParams params);
|
||||
#endif
|
||||
|
||||
} // namespace nix
|
||||
|
|
@ -12,6 +12,7 @@ config_pub_h = configure_file(
|
|||
headers = [ config_pub_h ] + files(
|
||||
'binary-cache-store.hh',
|
||||
'build-result.hh',
|
||||
'build/derivation-builder.hh',
|
||||
'build/derivation-building-goal.hh',
|
||||
'build/derivation-building-misc.hh',
|
||||
'build/derivation-goal.hh',
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ include_dirs += include_directories('../..')
|
|||
|
||||
headers += files(
|
||||
'build/child.hh',
|
||||
'build/derivation-builder.hh',
|
||||
'build/hook-instance.hh',
|
||||
'user-lock.hh',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue