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
psi-plus: init at 0.16.572.639 #23597
Conversation
enableParallelBuilding = true; | ||
|
||
meta = { | ||
description = "Psi+, an XMPP (Jabber) client"; |
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.
Would say that description should be like XMPP (Jabber) client, Psi+ is in a way the name of the program, in which guidelines say shouldn't start with.
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.
Is "which" really needed?
pkgconfig should go in nativeBuildInputs as it is a build dependency instead of a dependency that is needed to run.
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.
Thank you for the review, I updated the pull request. which
is needed, otherwise configure
fails with You don't seem to have 'make' or 'gmake' in your PATH.
.
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 turned out that psi-plus has two build systems, and after switching to cmake
to build plugins, which
and pkgconfig
became unnecessary.
|
||
meta = { | ||
description = "Psi+, an XMPP (Jabber) client"; | ||
maintainers = with stdenv.lib.maintainers; [ orivej ]; |
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.
Instead of writing stdenv.lib inside meta several times, could do meta = with stdenv.lib; { so there is no need of using it on the rest of the content.
b031b5c
to
2825ff4
Compare
I get a build error, when compiling this package:
|
It would help if you could post the complete build log. Mine is at https://gist.github.com/orivej/b7e783378bd44f2b5d72271c0a4c9837 |
@Mic92 Travis build on amd64 has passed, and I have not seen anything like your error while packaging psi-plus, and I have been building on a multicore server so it is not likely to be an issue with parallelized compilation. Can you give more details? This may have been not the first error in your build log. |
@orivej if you rebase it against master:
You hopefully get the following build error: |
b4b198c
to
dc6f5cc
Compare
It was an issue with parallel building. It has been fixed upstream, and I updated the package version in the pull request. |
I wonder if this version still crashes when connecting to servers with untrusted certificates… |
For me it does not, let me know if you see a crash. |
right now Qt 5.8 cannot be built… |
#24036 fixes Qt build |
Motivation for this change
Psi+ is a great Jabber client, successor of Psi.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)