This commit exposes support for compilation without dbus, controlled
by the global dbusSupport argument. This argument is understood by
many other nixpkgs expressions and can be set globally in
~/.config/nixpkgs/config.nix.
This commit also adds two package-specific arguments:
* notificationsSupport allows to disable the desktop-notifications
feature when invoking cargo.
* useOpenSSL can be set to false in order to compile tiny with rustls
instead of openssl.
I've just switched irssi to build from the 1.2.3 tag in the git tree, as
the build was failing on apple silicon when linking libirc_proxy.la in
dir `src/irc/proxy`
I kinda just switched it and it built. I did not dig very deep on the
reasons behind why this fixed things. I am hoping that Linux still
builds, as i have not tested it. Some notes:
- The sys_lib_search_path done by fixLibtool in the configure phase now
no longer seems to update with the NIX_LDFLAGS. It appears that this
is because the newer libtool script does not start the line with
'eval', so the sed does not match.
- My system still builds, despite the previous item. I noticed that on
this new build, my system defines `allow_undefined_flag` in the
libtool script to something nonempty. I guess that may be the reason
everything still builds and works at runtime.
It’s been a long while since this package was upgraded. Two of the
biggest introductions is switching the config from YAML → SCFG[^1]
and allowing an external password cmd[^2], along with the myriad of
commits to the project from the last couple of months.
@malvo
[^1]: https://todo.sr.ht/~taiite/senpai/66
[^2]: 36a7d1eead
catgirl wants to invoke the openssl utility at runtime and tries to
obtain a path to the binary as OPENSSL_BIN. This uses pkg-config's
exec_prefix which is not where binaries are installed in nixpkgs,
sadly. There is (at least as far as I know) no more appropriate
pkg-config variable unfortunately.