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

Make REPL outputs force their dependencies #363

Merged
merged 1 commit into from
Jul 24, 2018

Conversation

mrkkrp
Copy link
Member

@mrkkrp mrkkrp commented Jul 23, 2018

This fixes the regression introduced by #352: we have removed the dependency on compiled “parent” target, but this also removed dependency on other things that are necessary to run a REPL, such as:

  • Haskell library dependencies
  • pre-processed source files (hsc and chs)
  • external shared libraries

And so they won't be built if a REPL is built.

This commit restores the dependencies allowing to run REPL without having to build its “parent” target before that (still this does not cancel the intended effects of #352).

@mrkkrp mrkkrp requested a review from mboes July 23, 2018 17:17
@mrkkrp mrkkrp force-pushed the make-repl-outputs-force-their-dependencies branch from bf51b69 to 1cf8f95 Compare July 23, 2018 17:17
This fixes the regression introduced by #352: we have removed the dependency
on compiled “parent” target, but this also removed dependency on other
things that are necessary to run a REPL, such as:

* Haskell library dependencies
* pre-processed source files (hsc and chs)
* external shared libraries

And so they won't be built if a REPL is built.

This commit restores the dependencies allowing to run REPL without having to
build its “parent” target before that (still this does not cancel the
intended effects of #352).
@mrkkrp mrkkrp force-pushed the make-repl-outputs-force-their-dependencies branch from 1cf8f95 to fb66bb9 Compare July 23, 2018 17:53
@mboes mboes force-pushed the master branch 3 times, most recently from cb2b7ef to a65d39a Compare July 23, 2018 22:05
@mboes mboes merged commit 6e77409 into master Jul 24, 2018
@mboes mboes deleted the make-repl-outputs-force-their-dependencies branch July 24, 2018 07:56
hs.tools.ghci,
ghci_repl_script,
repl_file,
]),
Copy link
Contributor

Choose a reason for hiding this comment

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

You can add the current elements directly to the depset, like so:
depset([e1, e2], transitive = [depset1, depset2])

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