1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

Move RestrictedStore into its own file+header

Perhaps more significantly, it no longer knows about
`LocalDerivationGoal`, and without any effort it also compiles on
Windows just fine. (`local-derivation-goal.{cc,hh}` is currently skipped
on Windows.)
This commit is contained in:
John Ericson 2025-03-14 02:17:24 -04:00
parent 2cfd031511
commit 5026d5af95
4 changed files with 368 additions and 281 deletions

View file

@ -234,6 +234,7 @@ sources = files(
'realisation.cc',
'remote-fs-accessor.cc',
'remote-store.cc',
'restricted-store.cc',
's3-binary-cache-store.cc',
'serve-protocol-connection.cc',
'serve-protocol.cc',
@ -305,6 +306,7 @@ headers = [config_h] + files(
'remote-fs-accessor.hh',
'remote-store-connection.hh',
'remote-store.hh',
'restricted-store.hh',
's3-binary-cache-store.hh',
's3.hh',
'ssh-store.hh',