diff options
Diffstat (limited to 'src/libstore/platform')
-rw-r--r-- | src/libstore/platform/darwin.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/platform/darwin.hh b/src/libstore/platform/darwin.hh index 70e8a8587..111d50d87 100644 --- a/src/libstore/platform/darwin.hh +++ b/src/libstore/platform/darwin.hh @@ -52,6 +52,13 @@ private: * Set process flags to enter or leave rosetta, then execute the builder */ void execBuilder(std::string builder, Strings args, Strings envStrs) override; + + /** + * Whether we need to rewrite output hashes. + * Always true on Darwin since Darwin requires hash rewriting + * even when sandboxing is enabled. + */ + bool needsHashRewrite() override { return true; }; }; } |