Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More beef for debug-info #1208

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Hide windows stuff on unix
  • Loading branch information
hasufell committed Jan 12, 2025
commit 905df40cfdf4638e5d8339bf0c76da6bfa053844
4 changes: 2 additions & 2 deletions lib-opt/GHCup/OptParse/DInfo.hs
Original file line number Diff line number Diff line change
@@ -79,9 +79,9 @@ prettyDebugInfo DebugInfo { diDirs = Dirs { .. }, ..} =
"logs: " <> fromGHCupPath logsDir <> "\n" <>
"config: " <> fromGHCupPath confDir <> "\n" <>
"db: " <> fromGHCupPath dbDir <> "\n" <>
"recycle: " <> fromGHCupPath recycleDir <> "\n" <>
(if isWindows then ("recycle: " <> fromGHCupPath recycleDir <> "\n") else mempty) <>
"temp: " <> fromGHCupPath tmpDir <> "\n" <>
"msys2: " <> msys2Dir <> "\n" <>
(if isWindows then ("msys2: " <> msys2Dir <> "\n") else mempty) <>
"\n===== Metadata ======\n" <>
intercalate "\n" ((\(c, u) -> (T.unpack . channelAliasText) c <> ": " <> (T.unpack . decUTF8Safe . serializeURIRef') u) <$> diChannels)