mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
kdeltachat: pin libdeltachat at 1.155.6
Otherwise kdeltachat fails to build with
/build/source/message.cpp: In member function 'void DcMessage::setFile(QString)':
/build/source/message.cpp:93:12: error: 'dc_msg_set_file' was not declared in this scope; did you mean 'dc_msg_get_file'?
93 | return dc_msg_set_file(m_message, utf8File.constData(), NULL);
| ^~~~~~~~~~~~~~~
| dc_msg_get_file
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
fetchFromGitHub,
|
||||
fetchFromSourcehut,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
@@ -11,8 +12,25 @@
|
||||
qtimageformats,
|
||||
qtmultimedia,
|
||||
qtwebengine,
|
||||
rustPlatform,
|
||||
}:
|
||||
|
||||
let
|
||||
libdeltachat' = libdeltachat.overrideAttrs rec {
|
||||
version = "1.155.6";
|
||||
src = fetchFromGitHub {
|
||||
owner = "chatmail";
|
||||
repo = "core";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-d7EmmyLSJjFIZM1j6LP8f4WnXiptNTAqOdJD/oPL02Y=";
|
||||
};
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
pname = "deltachat-core-rust";
|
||||
inherit version src;
|
||||
hash = "sha256-E01aEzNi06LQntrlA+342a8Nl5API6v7HbdmuKpfajs=";
|
||||
};
|
||||
};
|
||||
in
|
||||
mkDerivation {
|
||||
pname = "kdeltachat";
|
||||
version = "unstable-2024-01-14";
|
||||
@@ -32,7 +50,7 @@ mkDerivation {
|
||||
|
||||
buildInputs = [
|
||||
kirigami2
|
||||
libdeltachat
|
||||
libdeltachat'
|
||||
qtimageformats
|
||||
qtmultimedia
|
||||
qtwebengine
|
||||
|
||||
Reference in New Issue
Block a user