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

Build with ghc(js) 9.8.2 + 9.10.1 #1093

Open
wants to merge 22 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
6 changes: 0 additions & 6 deletions lib/cabal.dependencies.project
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ if !arch(javascript)
subdir: system-fileio system-filepath
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this was added but the upstream PR has been merged fpco/haskell-filesystem#27

--sha256: sha256-VDShV+gkVUooMy1OtxrFfZrTAVVhWN/Ffjd6Qq0kHNM=

source-repository-package
type: git
location: https://github.com/ymeister/unix-compat.git
tag: 339649401c876ca1f76c6f94d6b099c8c47fa9e2
--sha256: 0j85q0mqg929nlz9ks6jaxz54pkvifpmldsvqjcz4bv6wml8m3wd

-- https://github.com/haskell-cryptography/HsOpenSSL/issues/93#issuecomment-2311816896
package HsOpenSSL
ghc-options: -optc=-Wno-incompatible-pointer-types"
1 change: 1 addition & 0 deletions lib/command/obelisk-command.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ library
, text
, time
, transformers
, unix
, unix-compat
, unordered-containers
, utf8-string
Expand Down
2 changes: 1 addition & 1 deletion lib/command/src/Obelisk/Command/Project.hs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import System.IO.Temp
import System.IO.Unsafe (unsafePerformIO)
import System.PosixCompat.Files
import System.PosixCompat.Types
import System.PosixCompat.User
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt we want to go out of our way to keep using an old version of unix-compat, for the sake of a single function which simply crashes: https://github.com/jacobstanley/unix-compat/pull/62/files#diff-93ed634b109420481984ea0fecc52a958c1d98c2728f8ec0b4c6ed741a8d4a24L55-L63

If ob survives long enough for windows support to be a concern, a lot of things will need to be revisited anyway.

import System.Posix.User
import qualified System.Process as Proc
import Text.ShellEscape (sh, bash, bytes)

Expand Down