-
Notifications
You must be signed in to change notification settings - Fork 19
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
Inconsistent nar serialization of git libs between aarch64-linux and aarch64-darwin #41
Comments
Thanks for reporting, I think that's related to the test errors you see on #39 . Could you post the diff and your darwin version? |
I still haven't figured this one out. I'm actually only seeing issues for gitlibs today though. But if I run
However, if I run this on
So obviously the urls are slightly different which is weird, but I wouldn't have thought that would impact the hash anyway. And it's definitely darwin only so far. |
I cannot reproduce it, maybe has something to do with the git version? |
I just re-ran this against main today and the url is still different (no .git extension) but this time the hashes are NOT different. I can checkout a commit of clj-nix from Feb. 25th and the problem comes back (the hashes are different). Same version of git in both cases. |
The git client on macos still doesn't include a .git extension on the |
I'll try to test it on a mac. If the only difference is the |
I'm not sure if this is the only place where we see this behavior but if I run the
update-deps
menu command on aarch64-darwin, the entry in pkgs/builder-lock.json forhttps://github.com/clojure/tools.build.git
will be updated. If I run the sameupdate-deps
command on aarch64-linux (in a docker container), the pkgs/builder-lock.json file will not be updated.I think this points to an issue with the
cljnix.nix
namespace when running in darwin.The text was updated successfully, but these errors were encountered: