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
{ lib
2
, stdenv
3
, fetchFromGitHub
0
4
, cmake
5
, asciidoc
6
, pkg-config
···
41
rev = "v${version}";
42
hash = "sha256-2daXxTbpSUlig47y901JOkWRxbZGH4qrvNMepJbvS3o=";
43
};
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
44
45
nativeBuildInputs = [
46
asciidoc
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
4
+
, fetchpatch
5
, cmake
6
, asciidoc
7
, pkg-config
···
42
rev = "v${version}";
43
hash = "sha256-2daXxTbpSUlig47y901JOkWRxbZGH4qrvNMepJbvS3o=";
44
};
45
+
46
+
patches = [
47
+
# The 2 following patches can be removed with the next version bump.
48
+
# Backport of https://github.com/Nheko-Reborn/nheko/commit/e89e65dc17020772eb057414b4f0c5d6f4ad98d0.
49
+
(fetchpatch {
50
+
name = "nheko-fmt10.patch";
51
+
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/nheko/-/raw/1b0d5c9eff6409dfd82953f346546d36c288a4a9/nheko-0.11.3-fix-for-fmt-10.patch";
52
+
hash = "sha256-UYqAu2iXT3Bn/MxCtybiJrJLfVMOOVRchWqrGuPfapI=";
53
+
})
54
+
# https://github.com/Nheko-Reborn/nheko/pull/1552
55
+
(fetchpatch {
56
+
name = "nheko-fmt10.1.patch";
57
+
url = "https://github.com/Nheko-Reborn/nheko/commit/614facf93c2b5d6118beb822cc542ac53a883c37.patch";
58
+
hash = "sha256-rjsQNDfj3Lzbv8ow3qiNozGXQFrtYLhArS6a9JCdgBQ=";
59
+
})
60
+
];
61
62
nativeBuildInputs = [
63
asciidoc