tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nheko: fix build with fmt-10.1
Tobias Mayer
2 years ago
05a33a50
4b919a5b
+17
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
instant-messengers
nheko
default.nix
+17
pkgs/applications/networking/instant-messengers/nheko/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
+
, fetchpatch
4
5
, cmake
5
6
, asciidoc
6
7
, pkg-config
···
41
42
rev = "v${version}";
42
43
hash = "sha256-2daXxTbpSUlig47y901JOkWRxbZGH4qrvNMepJbvS3o=";
43
44
};
45
45
+
46
46
+
patches = [
47
47
+
# The 2 following patches can be removed with the next version bump.
48
48
+
# Backport of https://github.com/Nheko-Reborn/nheko/commit/e89e65dc17020772eb057414b4f0c5d6f4ad98d0.
49
49
+
(fetchpatch {
50
50
+
name = "nheko-fmt10.patch";
51
51
+
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/nheko/-/raw/1b0d5c9eff6409dfd82953f346546d36c288a4a9/nheko-0.11.3-fix-for-fmt-10.patch";
52
52
+
hash = "sha256-UYqAu2iXT3Bn/MxCtybiJrJLfVMOOVRchWqrGuPfapI=";
53
53
+
})
54
54
+
# https://github.com/Nheko-Reborn/nheko/pull/1552
55
55
+
(fetchpatch {
56
56
+
name = "nheko-fmt10.1.patch";
57
57
+
url = "https://github.com/Nheko-Reborn/nheko/commit/614facf93c2b5d6118beb822cc542ac53a883c37.patch";
58
58
+
hash = "sha256-rjsQNDfj3Lzbv8ow3qiNozGXQFrtYLhArS6a9JCdgBQ=";
59
59
+
})
60
60
+
];
44
61
45
62
nativeBuildInputs = [
46
63
asciidoc