mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
fcitx5: fix compatiblity with fmt 10.0
This commit is contained in:
parent
a04ba8f26c
commit
c171cc95be
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
|
@ -51,6 +52,14 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-zS25XeNtBN7QIi+Re/p1uLoH/Q4xKAsFrEmgk2LYRu8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix compatiblity with fmt 10.0. Remove with the next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/fcitx/fcitx5/commit/7fb3a5500270877d93b61b11b2a17b9b8f6a506b.patch";
|
||||
hash = "sha256-Z4Sqdyp/doJPTB+hEUrG9vncUP29L/b0yJ/u5ldpnds=";
|
||||
})
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
ln -s ${enDict} src/modules/spell/$(stripHash ${enDict})
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue