From de359da09a0a3a0b68cbcb20c25adc3908046296 Mon Sep 17 00:00:00 2001 From: Ben Radford Date: Tue, 16 May 2023 13:14:58 +0100 Subject: [PATCH] Add read-only setting to LocalStoreConfig. --- src/libstore/local-store.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 55add18dd..1557c6242 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -46,6 +46,11 @@ struct LocalStoreConfig : virtual LocalFSStoreConfig "require-sigs", "Whether store paths copied into this store should have a trusted signature."}; + Setting readOnly{(StoreConfig*) this, + false, + "read-only", + "TODO"}; + const std::string name() override { return "Local Store"; } std::string doc() override;