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

Foreign Library Stanza #518

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Foreign Library Stanza #518

wants to merge 8 commits into from

Conversation

ropwareJB
Copy link

@ropwareJB ropwareJB commented Jul 22, 2022

  • [Y ] Did you add a new feature to hpack?
    • [Y] Did you add an acceptance test for that new feature to test/EndToEndSpec.hs?

Addresses #258.

Adds the following syntax to support foreign / shared libraries so we dont need to use the verbatim block anymore:

foreign-library:
  type: native-shared
  source-dirs: driver
  options:
    - standalone
  dependencies:
    - hpack

@mpilgrem
Copy link
Collaborator

I do not know why the CI is failing for Windows/'system' GHC (being GHC 9.6.2). I logged https://gitlab.haskell.org/ghc/ghc/-/issues/23533 as it seems to be GHC-related.

Locally, I can build and test (stack test) the Hpack respository at commit 36c44de with Stack configuration:

resolver: nightly-2023-06-18 # GHC 9.4.5
compiler: ghc-9.6.2

extra-deps:
# GHC 9.6.2 boot libaries
- Cabal-3.10.1.0
- Cabal-syntax-3.10.1.0
- directory-1.3.8.1
- time-1.12.2
- process-1.6.17.0
- Win32-2.13.3.0
# Required because the Stackage snapshot versions do not support GHC 9.6.2
- semigroupoids-6.0.0.1
- bifunctors-5.6.1

@sol
Copy link
Owner

sol commented Jun 23, 2023

Thanks @mpilgrem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants