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

Also parse ghc-options #13

Merged
merged 1 commit into from Oct 1, 2020
Merged

Also parse ghc-options #13

merged 1 commit into from Oct 1, 2020

Conversation

hasufell
Copy link
Owner

@hasufell hasufell commented Sep 30, 2020

Fixes #12

@@ -85,17 +86,47 @@ printProject (PinGHC pin) (Project (Ghc ghc) pkgs srcs) hack =
then [base]
else (\d -> T.concat [base, " subdir: ", d, "\n"]) <$> subdirs

-- Get the ghc options. This requires IO, because we have to figure out
-- the local package names.
printGhcOpts (GhcOptions locals _ everything (PackageGhcOpts packagesGhcOpts)) = do
Copy link
Owner Author

Choose a reason for hiding this comment

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

What do we do with targets?

@hasufell hasufell merged commit a9d0205 into master Oct 1, 2020
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.

ghc-options is ignored
1 participant