3p/nixpkgs: add patch so dino builds

This commit is contained in:
Luke Granger-Brown 2021-04-07 01:12:51 +00:00
parent bb03f5ea0d
commit 5c141d1b07
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,19 @@
diff --git a/pkgs/applications/networking/instant-messengers/dino/default.nix b/pkgs/applications/networking/instant-messengers/dino/default.nix
--- a/pkgs/applications/networking/instant-messengers/dino/default.nix
+++ b/pkgs/applications/networking/instant-messengers/dino/default.nix
@@ -27,6 +27,15 @@ stdenv.mkDerivation rec {
sha256 = "0wy1hb3kz3k4gqqwx308n37cqag2d017jwfz0b5s30nkx2pbwspw";
};
+ patches = [
+ # Fixes https://github.com/dino/dino/issues/1010 (double' is not a supported generic type argument)
+ (fetchpatch {
+ name = "dino-vala-boxing.patch";
+ url = "https://github.com/dino/dino/commit/9acb54df9254609f2fe4de83c9047d408412de28.patch";
+ sha256 = "1jz4r7d8b1ljwgq846wihp864b6gjdkgh6fnmxh13b2i10x52xsm";
+ })
+ ];
+
nativeBuildInputs = [
vala
cmake

View file

@ -1,3 +1,4 @@
various.patch various.patch
patch-cherrypy.patch patch-cherrypy.patch
pomerium-fix.patch pomerium-fix.patch
dino-vala-boxing.patch

View file

@ -27,6 +27,15 @@ stdenv.mkDerivation rec {
sha256 = "0wy1hb3kz3k4gqqwx308n37cqag2d017jwfz0b5s30nkx2pbwspw"; sha256 = "0wy1hb3kz3k4gqqwx308n37cqag2d017jwfz0b5s30nkx2pbwspw";
}; };
patches = [
# Fixes https://github.com/dino/dino/issues/1010 (double' is not a supported generic type argument)
(fetchpatch {
name = "dino-vala-boxing.patch";
url = "https://github.com/dino/dino/commit/9acb54df9254609f2fe4de83c9047d408412de28.patch";
sha256 = "1jz4r7d8b1ljwgq846wihp864b6gjdkgh6fnmxh13b2i10x52xsm";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
vala vala
cmake cmake