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
nextcloud-client: miscellaneous fixes #29256
Conversation
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.
"nextcloud-client: add optional inotify dependency" -- it doesn't look optional to me. It looks like it will break if "inotify-tools = null". I'm fine with inotify being hard dependency on Linux, but wondering if this expression currently works on Darwin and that adding inotify will break that?
My bad, I'll make it so that it checks Happily I'm at my workplace right now where I have access to a Mac to build on, and the build fails with
Which is a dependency of I'm certain this can build on Darwin, but I think that's out of scope for this PR. |
7662362
to
a9cd2d4
Compare
This allows for more efficient change detection.
So that the client can build faster.
`qtkeyring` can use `gnome-keyring`, but it needs some help to find it. I have not enabled this by default because not everyone who uses this will want to pull in GNOME dependencies.
a9cd2d4
to
e828dcb
Compare
Rebased! |
@bjornfor thank you! |
In general, it would make sense to merge owncloud-client and nextcloud-client in the sense that the nextcloud-client config could inherit from the owncloud-client. Unfortunately, I don't have the Nix experience to accomplish this. |
Motivation for this change
I've been maintaining a version of this outside of nixpkgs for a while and since this is a thing now I would like to contribute the difference to this expression.
Things done
Tested using sandboxing (nix.useSandbox on NixOS, or option
build-use-sandbox
innix.conf
on non-NixOS)Built on platform(s)
Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
Tested compilation of all pkgs that depend on this change using
nix-shell -p nox --run "nox-review wip"
Tested execution of all binary files (usually in
./result/bin/
)Fits CONTRIBUTING.md.
enabled parallel building
use existing cmake* attrs rather than manipulating cmake flags in preConfigure
use inotify for more efficient monitoring of file changes
provide gnome-keyring integration when built with
withGnomeKeying = true;
I'm not sure if adding
gnome_keyring
toLD_LIBRARY_PATH
is the correct way to go about this, but it's what worked for me.@caugner thanks for your work on this package.