on master help sign in
Create parent directory as well in ob profile templates
commitee5b42e75ffdb166d32ecdc74fe81a0b51d319fc authorMatthew Bauer <mjbauer95@gmail.com> dateMon 24 Feb 2020, 13:06 (7 years ago) parent3c80468
1 file changed+1−1
lib/command/src/Obelisk/Command/Run.hs+1−1
lib/command/src/Obelisk/Command/Run.hs+1−1
@@ -91,7 +91,7 @@ profile profileBasePattern rtsFlags = withProjectRoot "." $ \root -> do
9191
9292 putLog Debug $ T.pack $ "Storing profiled data under base name of " <> profileBaseName
9393
94− liftIO $ createDirectoryIfMissing False $ takeDirectory profileBaseName
94+ liftIO $ createDirectoryIfMissing True $ takeDirectory profileBaseName
9595
9696 outPath <- nixCmd $ NixCmd_Build $ def
9797 & nixBuildConfig_outLink .~ OutLink_None