-
Notifications
You must be signed in to change notification settings - Fork 323
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
Removing hardcoded hashes from Nix flake. #2985
base: master
Are you sure you want to change the base?
Removing hardcoded hashes from Nix flake. #2985
Conversation
@donn any concerns here? Nix support is for OL2 so I have none. |
Co-authored-by: max <[email protected]> Signed-off-by: Ryan Slawson <[email protected]>
8c358e8
to
d306893
Compare
My apologies, forgot to update the workflows. Any time the submodules update the |
It would also appear that despite trying to make sure that EDIT: Never mind, something was just odd when I cloned it to another machine - it didn't get the right submodule commits for some reason. In the morning I'll rebase on master to ensure that it works with the project in its current state. |
This is ORFS, not OpenROAD, but the changes look broadly fine |
I'm aware, yes. What do you mean by that, though? |
I think he is pointing out the OL2 only uses the nix file from OR and not ORFS. |
@vvbandeira do you understand the scan's error |
Forgive my ignorance here, but OL2? If this is in reference to the fact that I added inputs to all the submodules for OpenROAD and YoSys, that's just for reasons of Nix flakes are... interesting at times, to put it kindly. It's a workaround for an issue with submodules in flake dependencies. |
OL2 = OpenLane2 (https://github.com/efabless/openlane2) |
Oh, should I have included that instead of or in addition to OpenROAD in this? If so, I can work on that. |
@rslawson ORFS and OpenLane 2 are two different implementations of the OpenROAD flow. You're contributing to ORFS right now, so you don't need to worry about OpenLane 2. If you were contributing to OpenROAD's Nix file, I would indeed need to take a look at that. |
Ah, undersood. Thank you for clearing that up for me (: |
I think it might be missing the |
Previously the flake would require periodically updating the commit hashes for the submodules (and their submodules, etc.). However, the flake should now handle changes to those without direct user interaction.