Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

moretea' mkYarnPackage is incompatible with currently generated yarn.nix #155

Open
chekoopa opened this issue Aug 20, 2020 · 4 comments
Open

Comments

@chekoopa
Copy link
Contributor

After #148 default.nix example became irrelevant, as when we try using yarn2nix-moretea.mkYarnPackage with yarn.nix generated with the current version (37c3b7c, considering a fix from #75), it fails with the next message:

error: anonymous function at <...>/yarn.nix:1:1 called without required argument 'fetchgit', at /nix/store/zzfciaizwx8i9b8vqv43xqg4mif3pnd2-yarn2nix/default.nix:24:13

Even after some crufting with parameters it proceeds to Yarn, which fails to access any package from offline cache.

@zimbatm
Copy link
Member

zimbatm commented Aug 20, 2020

/cc @adrian-gierakowski @phryneas

@phryneas
Copy link
Contributor

Sorry, I haven't used yarn2nix in over a year, no idea what is happening there.

@chekoopa
Copy link
Contributor Author

chekoopa commented Aug 20, 2020

The only possible solution ATM I've considered is pinning my yarn2nix fetch to 70666fc and using it as usual.
The release version (yarn2nix-moretea) is far too outdated and doesn't support duplicates.

Sorry, I haven't used yarn2nix in over a year, no idea what is happening there.

If you've got an alternative, please write about it. Yet, the mentioned yarn2fix revision (without #148) is rather enough for common usage.

@yaitskov
Copy link

Hi. I just noticed that mkYarnPackage disappeared. Is this repo archived? Should I use node2nix? What is alternative, I start from scratch?

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

No branches or pull requests

4 participants