[Git][ghc/ghc][master] hurd: Fix getExecutablePath build
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: f3c18890 by Samuel Thibault at 2026-01-10T15:48:22+01:00 hurd: Fix getExecutablePath build 3939a8bf93e27 ("GNU/Hurd: Add getExecutablePath support") added using /proc/self/exe for GNU/Hurd but missed adding the required imports for the corresponding code. - - - - - 1 changed file: - libraries/ghc-internal/src/GHC/Internal/System/Environment/ExecutablePath.hsc Changes: ===================================== libraries/ghc-internal/src/GHC/Internal/System/Environment/ExecutablePath.hsc ===================================== @@ -51,7 +51,7 @@ import GHC.Internal.Foreign.Ptr import GHC.Internal.Foreign.Storable import GHC.Internal.System.IO.Error (isDoesNotExistError) import GHC.Internal.System.Posix.Internals -#elif defined(linux_HOST_OS) +#elif defined(linux_HOST_OS) || defined(gnu_HOST_OS) import GHC.Internal.Data.Functor import GHC.Internal.Data.List (isSuffixOf) import GHC.Internal.Foreign.C.Types View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f3c18890b8157d3382375493a1fe313a... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f3c18890b8157d3382375493a1fe313a... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)