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

Language specific package support #346

Open
benradf opened this issue Mar 13, 2023 · 0 comments
Open

Language specific package support #346

benradf opened this issue Mar 13, 2023 · 0 comments
Labels
P3 minor: not priorized type: feature request

Comments

@benradf
Copy link
Member

benradf commented Mar 13, 2023

Is your feature request related to a problem? Please describe.
When a Nix+Bazel project needs to depend on language specific third-party packages, it is not always clear how to do this. For example, depending on Rust crates, NPM modules, Hackage packages, etc.

For some languages there is already good support. In rules_haskell you can provide system libs to stack_snapshot via the extra_deps attribute. For others there is no support currently, e.g. npm_install and pip_install will use a global interpreter and will build native lib bindings outside the sandbox.

Describe the solution you'd like
Ultimately it would be desirable to provide good language specific package support for all the toolchains in rules_nixpkgs. However that will likely take some time and effort to achieve, so in the meantime it would be helpful to provide best practice examples to guide users (like the Rust openssl dependency example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 minor: not priorized type: feature request
Projects
Status: No status
Development

No branches or pull requests

1 participant