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

Local registries for managing package sets and dependencies #36

Open
3 tasks
bladyjoker opened this issue Feb 8, 2024 · 1 comment
Open
3 tasks

Local registries for managing package sets and dependencies #36

bladyjoker opened this issue Feb 8, 2024 · 1 comment

Comments

@bladyjoker
Copy link
Contributor

bladyjoker commented Feb 8, 2024

purescriptFlake, rustFlake and typescriptFlake all use a naive approach to adding packages to build environments from Nix using extraSources or dependencies argument.

https://github.com/mlabs-haskell/lambda-buffers/pull/191/files#diff-feaf943d43c786bde76a0f543430ba2efe06537a1d26a7eb4ef1e24da7edbcadR89 we see how this inevitably breaks the abstraction and the library needs to 'know' in which context it would be used.

In essence, any library that uses extraSources cannot itself be used as a dependency added through extraSources.

TODO

  • Creating and managing local Cargo registries with Nix
  • Creating and managing local Spago registries with Nix
  • Creating and managing local NPM registries with Nix
@bladyjoker
Copy link
Contributor Author

@jaredponn actually, are you using NPM registries somehow?

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

No branches or pull requests

1 participant