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

yarn2nix: Handle codeload.github.com tarballs #107979

Merged
merged 1 commit into from Dec 31, 2020

Conversation

Lassulus
Copy link
Member

This was submitted originally in nix-community/yarn2nix#130

I find it very confusing, that there is a yarn2nix repo in the nix-community project and the same code is duplicated inside nixpkgs. Especially if these code bases diverge, Maybe it would be cooler to have them in just one location (nixpkgs?)

@nh2
Copy link
Contributor

nh2 commented Dec 30, 2020

Maybe it would be cooler to have them in just one location

That makes sense to me -- how do you think we should do that @zimbatm @flokli (others? https://github.com/nix-community/yarn2nix has [maintainer=???])?

Copy link
Contributor

@nh2 nh2 left a comment

Choose a reason for hiding this comment

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

Looks good to me modulus the newline change

@SuperSandro2000 SuperSandro2000 merged commit 30ec6cf into NixOS:master Dec 31, 2020
@zimbatm
Copy link
Member

zimbatm commented Jan 1, 2021

I think we already had the same conversation in another issue. I would be in favour of having everything in nixpkgs, or everything in this repo, but not on both sides.

@Lassulus
Copy link
Member Author

Lassulus commented Jan 1, 2021

I think the reason it's inside nixpkgs is, because for the mkYarnPackage/mkYarnPlatform etc. functions. If we would want to use them in nixpkgs they need to be part of the repo. So I would vote to change the nix-community repo to read only and merge the remaining additions inside nixpkgs.

@zimbatm
Copy link
Member

zimbatm commented Jan 1, 2021

Sounds good to me!

@Lassulus
Copy link
Member Author

Lassulus commented Jan 1, 2021

I have a created a PR for moving the remaining changes (its just one and a yarn update) inside nixpkgs:
#108138 Can someone take care of the old repo? I'm not sure what the best way forward would be, since there a also some PRs still open.

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

Successfully merging this pull request may close these issues.

None yet

4 participants