Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/PreProcess.hs
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ platformDefines lbi =
Android -> ["android"]
Ghcjs -> ["ghcjs"]
Wasi -> ["wasi"]
Hurd -> ["hurd"]
Hurd -> ["gnu"]
Haiku -> ["haiku"]
OtherOS _ -> []
archStr = case hostArch of
Expand Down
12 changes: 12 additions & 0 deletions changelog.d/pr-11401
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
synopsis: Fix the OS string encoding for GNU/Hurd
packages: Cabal
prs: #11401

description: {

Following https://github.com/haskell/cabal/pull/9434/files , and as seen
in the various gnu_HOST_OS usages in the ghc source code, it is expected that
GNU/Hurd is advertised as "gnu", so the OS String encoding for OSHurd was
updated into "gnu".

}
Loading