Skip to content

Commit

Permalink
Hide windows stuff on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Jan 12, 2025
1 parent 50264de commit 905df40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib-opt/GHCup/OptParse/DInfo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 905df40

Please sign in to comment.