1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

Move header outside Unix-only portion

We'll neeed some definitions elsewhere
This commit is contained in:
John Ericson 2025-08-19 17:48:29 -04:00
parent 8463fef161
commit bce29ab2cf
3 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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',

View file

@ -2,7 +2,6 @@ include_dirs += include_directories('../..')
headers += files(
'build/child.hh',
'build/derivation-builder.hh',
'build/hook-instance.hh',
'user-lock.hh',
)