diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:24:33 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:24:33 +0100 |
commit | 559a8c44c3b59c046f4bb0bf049583ff234a095e (patch) | |
tree | 89681485d3cbfee39becc739b460807cb6c36d26 /src/libstore/ssh-store.cc | |
parent | 7ff1dca1fad24d0e8dd83172397d952ef6cb4de5 (diff) |
Merge pull request #6258 from obsidiansystems/gcc-bug-ergonomics
Remove bug-avoiding `StoreConfig *` casts for settings
(cherry picked from commit e3febfcd532adb23ca05ac465a2b907d6f1a3529)
Change-Id: Ifeae276582fdbc781a38581df9de3da67a7e7bf9
Diffstat (limited to 'src/libstore/ssh-store.cc')
-rw-r--r-- | src/libstore/ssh-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/ssh-store.cc b/src/libstore/ssh-store.cc index 9c6c42ef4..4a6aad449 100644 --- a/src/libstore/ssh-store.cc +++ b/src/libstore/ssh-store.cc @@ -16,7 +16,7 @@ struct SSHStoreConfig : virtual RemoteStoreConfig, virtual CommonSSHStoreConfig using RemoteStoreConfig::RemoteStoreConfig; using CommonSSHStoreConfig::CommonSSHStoreConfig; - const Setting<Path> remoteProgram{(StoreConfig*) this, "nix-daemon", "remote-program", + const Setting<Path> remoteProgram{this, "nix-daemon", "remote-program", "Path to the `nix-daemon` executable on the remote machine."}; const std::string name() override { return "Experimental SSH Store"; } |