summaryrefslogtreecommitdiff
path: root/Biz/Bild.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-12-28 11:30:16 -0500
committerBen Sima <ben@bsima.me>2020-12-28 11:30:16 -0500
commitaf44226978594c7182eb2f4a489a16a2a6bf1f62 (patch)
tree3f8ad671038f43140e6e38433642fb5fc9ed3fc8 /Biz/Bild.hs
parentef47d351e347fb24a75afc61eac84a71afa49936 (diff)
bild: report builder better
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r--Biz/Bild.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index c55693d..27f1f50 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -203,7 +203,7 @@ analyze s = do
out = "",
builder =
if host == "lithium"
- then user <> "@localhost"
+ then user <> "@lithium"
else
join
[ "ssh://",
@@ -232,7 +232,7 @@ build target@Target {..} = do
putText <| "bild: dev: ghc: " <> Namespace.toPath namespace
let outDir = root </> "_/bild/dev/bin"
Dir.createDirectoryIfMissing True outDir
- putText <| "bild: dev: local: " <> Text.pack builder
+ putText <| "bild: dev: bilder: " <> Text.pack builder
Process.callProcess
"ghc"
[ "-Werror",
@@ -277,7 +277,7 @@ build target@Target {..} = do
putText <| "bild: nix: " <> Namespace.toPath namespace
let outDir = root </> "_/bild/nix"
Dir.createDirectoryIfMissing True outDir
- putText <| "bild: nix: remote: " <> Text.pack builder
+ putText <| "bild: nix: builder: " <> Text.pack builder
Process.callProcess
"nix-build"
[ path,
@@ -295,7 +295,6 @@ build target@Target {..} = do
"--arg",
"lib",
"(import " <> root </> "Biz/Bild/Nixpkgs.nix).lib",
- -- Specify remote builders
"--builders",
builder
]