git.iko.soy/typeable/nixpkgs
on master help sign in
squeekboard: fix build with rust 1.54

Co-authored-by: Artturin@artturin.com

commit5e792015a0348ad5b7f4745c5c010f7ba9f5931d authorRick van Schijndel <rol3517@gmail.com> dateFri 17 Sep 2021, 19:43 (5 years ago) parentfa5933f
1 file changed+10
pkgs/applications/accessibility/squeekboard/default.nix+10
pkgs/applications/accessibility/squeekboard/default.nix+10
@@ -14,6 +14,7 @@
1414, rustPlatform
1515, feedbackd
1616, wrapGAppsHook
17+, fetchpatch
1718}:
1819
1920stdenv.mkDerivation rec {
@@ -37,6 +38,15 @@ stdenv.mkDerivation rec {
3738 sha256 = "0148ynzmapxfrlccikf20ikmi0ssbkn9fl5wi6nh6azflv50pzzn";
3839 };
3940
41+ patches = [
42+ # remove when updating from 1.14.0
43+ (fetchpatch {
44+ name = "fix-rust-1.54-build.patch";
45+ url = "https://gitlab.gnome.org/World/Phosh/squeekboard/-/commit/9cd56185c59ace535a6af26384ef6beca4423816.patch";
46+ sha256 = "sha256-8rWcfhQmGiwlc2lpkRvJ95XQp1Xg7St+0K85x8nQ0mk=";
47+ })
48+ ];
49+
4050 nativeBuildInputs = [
4151 meson
4252 ninja