1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 07:22:43 +01:00

windows: fix compilation after recent changes

Specifically last few week's merges involving legacy SSH options and
dynamic derivations.
This commit is contained in:
Brian McKenna 2025-02-18 14:39:22 +11:00
parent 1f688d62d7
commit e0617d2545
3 changed files with 6 additions and 2 deletions

View file

@ -367,7 +367,12 @@ unsigned int LegacySSHStore::getProtocol()
pid_t LegacySSHStore::getConnectionPid()
{
auto conn(connections->get());
#ifndef _WIN32
return conn->sshConn->sshPid;
#else
// TODO: Implement
return 0;
#endif
}