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
package holochain package & tests via crane; refactor nix version management #1760
Conversation
5abefb7
to
abb142b
Compare
hey @DavHau, (i'm the author of #1764) not sure how helpful this will be, but i just tried running I'm running the latest macOS, let me know if i can provide any more information, retry another way, or be helpful in another way. thanks for your work on this! edit: interesting, this is probably a nix bug, since after reading through the comments in nixos/nix#3605, i tried edit 2:
|
- ./nix/compat.nix (flake-compat) is used for downward compatibility - `nix-shell` still uses the old definitions, not the ones from the flake. - niv isn't used anymore but still kept as CI does niv add holochain-nixpkgs - copied some sh scripts from holonix - crane is used for .#holochain - tests are under .#holochain-tests
@DrewMcArthur Thanks a lot for testing. The problem should be fixed by holochain/holochain-nixpkgs#996 |
@DavHau definitely! i've been following holochain for a long time, so excited to be able to contribute. i've sorta left comments all over the place today, but here's an attempt at a summary:
that said, thanks for the update. i checked out this branch, and here's my results:
that says to me, the |
937bebf
to
f79dd3b
Compare
@DrewMcArthur Thanks again for your intense testing and your fixes. Could you give it a try again and let me know? |
@DavHau left this comment on #1776 - that branch works for me! |
almost all of this, or a version thereof, has been merged in #1863 thanks for the great work @DavHau and thank you for testing @DrewMcArthur 🙏 |
awesome @steveej! and do i understand correctly that holochain.love is a reflection of the current main branch? i.e. i can test on my macbook with that url now? or is there a release cycle i need to wait for? |
Summary
Refactor the nix code to use nix flakes for version management. (downward compat to old nix clients is established)
This prepares us for potential future steps:
holochain
holochain-nixpkgs
holonix
into onenix run .#...
Things Done:
crate2nix
(for experimenting only)nix-shell
still uses the old definitions, not the ones from the flake (keeping it compatible to the current CI).TODO: