-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
keybase, keybase-gui, kbfs: 4.6.0 -> 4.7.2, added dependencies #71287
Conversation
@judaew Are these used during the build, or are the executable/s needed in PATH during runtime? |
@worldofpeace Yes, executables are needed at runtime. I analyzed the code and I came to the conclusion that Keybase already has GnuPG support for Nix (pinentry_nix.go). I was a little skeptical about But I'm not sure about |
Well what I meant by this was, if the program needs executables from fuse to be present at runtime like
they won't be there even if they're added to Nix doesn't really manage things in this way, though perhaps it should/could. Though I believe this approach would be rather difficult if they were to switch to go modules, or not vendor things. There also seems to be some assumptions going for macos Now if nix was sandboxed these wouldn't work because they're on the host system, but I believe with macos it would be on the safe side to just rely on these being present outside of nix. |
Something just like this? |
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.
It does appear you've performed the patch correctly. Will test.
@judaew If you can squash your commits accordingly I can merge. |
@worldofpeace Well, I did it. |
all: update from 4.6.0 to 4.7.2 keybase: - added gnupg as a dependency and patch fix-patch-keybase.patch kbfs: - added fuse as a dependency and patch fix-patch-kbfs.patch
@GrahamcOfBorg build keybase kbfs keybase-gui |
Running checks for darwin. I had to update the keybase-gui expression because it 404'd for me. |
Thanks for your patience @judaew and the contributions ✨ |
Thanks for your help @worldofpeace |
Motivation for this change
Adding:
fuse
orosxfuse
as a dependency forkbfs
(I rely on this kbfs README.md#status)gnupg
as a dependency forkeybase
(for command$ keybase pgp gen
)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 @