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
unison-ucm: init at 1.0.M1c alpha #66249
unison-ucm: init at 1.0.M1c alpha #66249
Conversation
57fbcce
to
a037aa8
Compare
@worldofpeace Any chance you can merge this? Or point me to an appropriate person to ping? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a binary package so it needs to be patched.
You should be able to do this by adding autoPatchelfHook
to nativeBuildInputs
.
a037aa8
to
f1018d1
Compare
f1018d1
to
b185d87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a binary package so it needs to be patched.
You should be able to do this by addingautoPatchelfHook
tonativeBuildInputs
.
I don't really understand what this is. What needs to be patched? Can you explain @worldofpeace ? Thanks!
I don't know what happened to this thread, but I can't read it. I'll try responding like this:
You need to do
I mean
https://nixos.wiki/wiki/Packaging/Binaries explains this very well. By doing
it should take care of this for you completely, no need to patch it manually.
I got this from their github |
b185d87
to
4818fa1
Compare
14822ba
to
87bff2e
Compare
I'm sure i messed it up somehow, but not sure how. Sorry :(
Gotcha. This (and adding an
Oh interesting. Yeah, i hadn't noticed this. Fixed!
Updated! |
87bff2e
to
2286f97
Compare
OK, i think i've made all the requested changes. It still works on my mac system, at least. :) |
I actually think GitHub had something to do with this. |
ced8906
to
69985ce
Compare
@worldofpeace Thanks again for taking the time to review this! |
Can you change the description to just? It appears you've intersected two of them, and it seems like a lot of adjectives. And I don't think we should use whitespace between the Lastly, it fails to build on NixOS because of missing dependencies
so you need
|
74fe288
to
034afbc
Compare
Done!
Done!
Hmm, i guess this makes sense for nixos. Shared libraries need to be declared, right? Done! |
That output is from |
1ebee81
to
4481f3e
Compare
@GrahamcOfBorg build unison-ucm |
It looks like I've forgotten that obviously you don't need to patch binaries like this for darwin, and I miss suggested |
af0bbcb
to
4673896
Compare
Thanks for contributing @virusdave ✨ |
Thanks for the review @worldofpeace and your patience with me. This is my first "full package derivation" experience, and although it was simple (binary distro even), it was useful learning experience and i appreciate the help :) |
I'm happy to hear this 🌸 . |
Motivation for this change
Introducing the unison code manager. Previously available via homebrew only.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @