tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge #148945: pamix: fix build with ncurses-6.3
Vladimír Čunát
4 years ago
0158ec89
21ca43a5
+15
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
audio
pamix
default.nix
+15
-1
pkgs/applications/audio/pamix/default.nix
···
1
-
{ lib, stdenv, fetchFromGitHub
2
, pkg-config, cmake
3
, libpulseaudio, ncurses }:
4
···
12
rev = version;
13
sha256 = "1d44ggnwkf2gff62959pj45v3a2k091q8v154wc5pmzamam458wp";
14
};
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
16
preConfigure = ''
17
substituteInPlace CMakeLists.txt --replace "/etc" "$out/etc/xdg"
···
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch
2
, pkg-config, cmake
3
, libpulseaudio, ncurses }:
4
···
12
rev = version;
13
sha256 = "1d44ggnwkf2gff62959pj45v3a2k091q8v154wc5pmzamam458wp";
14
};
15
+
16
+
patches = [
17
+
# ncurses-6.3 support, included in next release
18
+
(fetchpatch {
19
+
name = "ncurses-6.3-p1.patch";
20
+
url = "https://github.com/patroclos/PAmix/commit/3400b9c048706c572373e4617b4d5fcdb8dd2505.patch";
21
+
sha256 = "0rw56a844pz876ad9p8hfvn2fkd5rh29gpp47h55g08spf0vwb2z";
22
+
})
23
+
(fetchpatch {
24
+
name = "ncurses-6.3-p2.patch";
25
+
url = "https://github.com/patroclos/PAmix/commit/5ef67fc5ef6fc0dc0b48ff07ba48093881561d9c.patch";
26
+
sha256 = "0f8shpdv2swxdz04bkqgmkvl6c17r5mn4slzr7xd6pvw8hh51p4h";
27
+
})
28
+
];
29
30
preConfigure = ''
31
substituteInPlace CMakeLists.txt --replace "/etc" "$out/etc/xdg"