summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Biz/Bild.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index 27f1f50..23086a7 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -203,7 +203,7 @@ analyze s = do
out = "",
builder =
if host == "lithium"
- then user <> "@lithium"
+ then mempty
else
join
[ "ssh://",
@@ -277,7 +277,9 @@ build target@Target {..} = do
putText <| "bild: nix: " <> Namespace.toPath namespace
let outDir = root </> "_/bild/nix"
Dir.createDirectoryIfMissing True outDir
- putText <| "bild: nix: builder: " <> Text.pack builder
+ if null builder
+ then putText <| "bild: nix: local"
+ else putText <| "bild: nix: remote: " <> Text.pack builder
Process.callProcess
"nix-build"
[ path,