@@ -91,7 +91,7 @@ profile profileBasePattern rtsFlags = withProjectRoot "." $ \root -> do
92 putLog Debug $ T.pack $ "Storing profiled data under base name of " <> profileBaseName
92 putLog Debug $ T.pack $ "Storing profiled data under base name of " <> profileBaseName
94− liftIO $ createDirectoryIfMissing False $ takeDirectory profileBaseName
94+ liftIO $ createDirectoryIfMissing True $ takeDirectory profileBaseName
96 outPath <- nixCmd $ NixCmd_Build $ def
96 outPath <- nixCmd $ NixCmd_Build $ def
97 & nixBuildConfig_outLink .~ OutLink_None
97 & nixBuildConfig_outLink .~ OutLink_None