-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
fetchYarnDeps: Can not find versions shadowed by derivations #184965
Comments
@Ma27 do you have any ideas on this one? |
mkYarnPackage / mkYarnModules does weird things with its "workspace" "feature". It doesn't actually run This can be worked around by setting packageResolutions so that the fake package.json also contains the same resolution:
Another workaround could be to not use mkYarnPackage, but run yarn manually inside a derivation like gitlab-assets does. |
That got me further, but now I get:
|
Didn't have the time for it and don't expect me to be able to debug within the next 7 days. If no solution is found until then, I can take a look though :) |
Solutions were found...: #186133 |
Describe the bug
Current NixOS version of
element-desktop
(1.11.0) builds fine.It's using
fetchYarnDeps
for bundling the electron app.Trying to build 1.11.1, which contains, this change, fails with this error:
This is from current 22.05 release branch, so should have 9801e6e already.
Steps To Reproduce
Steps to reproduce the behavior:
element-desktop
but bumping the version to 1.11.1, also updating the package.json and pin.json.Notify maintainers
@yu-re-ka @purefn @sumnerevans
The text was updated successfully, but these errors were encountered: