summaryrefslogtreecommitdiff
path: root/Omni/Bild.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-23 17:55:02 -0500
committerBen Sima <ben@bensima.com>2025-12-23 17:55:02 -0500
commit9374b1955b32b49f77be3b5c84598922296e5b5c (patch)
treebc5dc0e37fa8fb03cd354b4b40fdbc96e9d24b22 /Omni/Bild.hs
parent30fb38f179afbd2302000e0f5abb3afed7525750 (diff)
Fix some build errors
Diffstat (limited to 'Omni/Bild.hs')
-rw-r--r--Omni/Bild.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Omni/Bild.hs b/Omni/Bild.hs
index 39ac01f..b4da154 100644
--- a/Omni/Bild.hs
+++ b/Omni/Bild.hs
@@ -1432,7 +1432,7 @@ pipelineBuildOne andTest loud andCache jobs cpus target@Target {..} = do
Sbcl ->
proc loud namespace (toNixFlag compiler) compilerFlags
let exitCode = fst result
- when (andCache && isSuccess exitCode) <| do
+ when (andCache && isSuccess exitCode && isJust out) <| do
storePath <- Dir.canonicalizePath (nixdir </> outname out)
cacheStorePath loud namespace storePath
pure exitCode