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

Use niv to pin dependencies. #35

Closed
wants to merge 1 commit into from
Closed

Use niv to pin dependencies. #35

wants to merge 1 commit into from

Conversation

dhess
Copy link
Contributor

@dhess dhess commented Oct 11, 2020

This unifies all the various fetchFromGitHub instances scattered
across the multiple .nix files into a single, canonical source for
each dependency. It also pins the nixpkgs used to build the package,
to reduce impurities.

This unifies all the various fetchFromGitHub instances scattered
across the multiple .nix files into a single, canonical source for
each dependency. It also pins the nixpkgs used to build the package,
to reduce impurities.
@justinwoo
Copy link
Owner

justinwoo commented Oct 11, 2020 via email

@dhess
Copy link
Contributor Author

dhess commented Oct 11, 2020

Yes. In the current tree, there are at least 3 different places where fetchFromGitHub is used to fetch easy-purescript-nix. If you want to update the version that's being fetched, you have to a) update the rev and sha256 at each location, and b) be disciplined to keep them in sync.

It would also be nice to pin the nixpkgs used, rather than doing an impure import <nixpkgs> {} at the top of each Nix file, though that's mostly down to preference and not particularly a maintenance issue.

@justinwoo
Copy link
Owner

justinwoo commented Oct 11, 2020 via email

@dhess
Copy link
Contributor Author

dhess commented Oct 11, 2020

So it sounds like you agree with the change in principle, but object to the implementation, is that right?

@justinwoo
Copy link
Owner

justinwoo commented Oct 11, 2020 via email

@dhess
Copy link
Contributor Author

dhess commented Oct 11, 2020

I'm just trying to work with you here, Justin. I find it difficult to figure out what you want from contributors.

@dhess dhess closed this Oct 12, 2020
@dhess dhess deleted the niv branch October 12, 2020 12:45
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