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

Prevent duplicate installs of bazel_skylib #536

Merged
merged 1 commit into from
Jan 3, 2019

Conversation

jcpetruzza
Copy link
Contributor

If we try to use haskell_repositories() after bazel_skylib was already installed with the same name (e.g. rules_docker also installs it as a dependency), we will get a name clash.

We can use instead an if-statement to install only those that have not yet been installed.

If we try to use `haskell_repositories()` after `bazel_skylib`
was already installed with the same name (e.g. rules_docker also
installs it as a dependency), we will get a name clash.

We can use instead an if-statement to install only those that
have not yet been installed.
Copy link
Member

@mboes mboes left a comment

Choose a reason for hiding this comment

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

Thanks!

@mboes mboes merged commit 2b163f7 into tweag:master Jan 3, 2019
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.

2 participants