on master help sign in
Create parent directory as well in ob profile templates
ee5b42eMatthew Bauer
lib/command/src/Obelisk/Command/Run.hs+1−1
@@ -91,7 +91,7 @@ profile profileBasePattern rtsFlags = withProjectRoot "." $ \root -> do
91
91
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
93
93
94− liftIO $ createDirectoryIfMissing False $ takeDirectory profileBaseName
94+ liftIO $ createDirectoryIfMissing True $ takeDirectory profileBaseName
95
95
96 outPath <- nixCmd $ NixCmd_Build $ def
96 outPath <- nixCmd $ NixCmd_Build $ def
97 & nixBuildConfig_outLink .~ OutLink_None
97 & nixBuildConfig_outLink .~ OutLink_None