Closed iccicci closed 1 year ago
There's a config option that locks the expression path :lotus_position:
I spoke too soon. The behaviour is the same with that option set or not. The above commit was reverted
I think this should be fixed now. Can you try updating?
yarn plugin import https://raw.githubusercontent.com/stephank/yarn-plugin-nixify/main/dist/yarn-plugin-nixify.js
Hi @stephank , I confirm the new version 😉 fixes. Thank you very much once again for your exceptional quick replies and actions!
Hi all,
using the plugin in a yarn workspace monorepo,
I noticed that running
yarn
from the root of the repos or from a workspace path, results in generating different values forlockfile
andyarnPath
in theyarn-project.nix
file.As an example, running
yarn
from the root of my repos or from theutil
worspace path, generateyarn-project.nix
file with following diff:This seems to be in contrast with
yarn workspace
specifications which should let us runningyarn
from anywhere without affecting the result.Is there some reason I don't know behind this beahvior or could this be considered a bug?
Update
As per #46 , today I run following command.
I'm sorry but I'm not familiar with yarn plugins so I'm not able to say which version I'm using. I hope that the information "I run this command today" is enough to identify which version I'm using.
After the plugin update, this is the diff from the same use case I described.
Thank you