From daff1b148f9bc0b5485f5b2981a6d2f5fdfc7c1c Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Tue, 14 Oct 2025 15:31:15 +0200 Subject: [PATCH] build-remote: de-optionalize an always-set parameter Change-Id: Ifd79229cf5f608e3cfe5532ab24b2a4efb547e15 --- lix/legacy/build-remote.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lix/legacy/build-remote.cc b/lix/legacy/build-remote.cc index 4b6b82132..8593f7ba3 100644 --- a/lix/legacy/build-remote.cc +++ b/lix/legacy/build-remote.cc @@ -236,7 +236,7 @@ enum class BuildRejected { Temporarily, Permanently }; static kj::Promise>> connectToBuilder( const ref & store, - const std::optional & drvPath, + const StorePath & drvPath, Machines & machines, const unsigned int maxBuildJobs, const bool amWilling, @@ -273,7 +273,7 @@ try { } else { printSelectionFailureMessage( couldBuildLocally ? lvlChatty : lvlWarn, - drvPath ? drvPath->to_string() : "", + drvPath.to_string(), machines, neededSystem, requiredFeatures