Skip to content

Commit 5793932

Browse files
committed
Fix arbtt needing libxcb
1 parent da073d5 commit 5793932

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

survey/default.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,19 @@ let
10021002
(if disableOptimization then dontCheck else lib.id)
10031003
super.ap-normalize;
10041004

1005+
arbtt =
1006+
addStaticLinkerFlagsWithPkgconfig
1007+
super.arbtt
1008+
(with final; [
1009+
nettle
1010+
1011+
libX11
1012+
libXdmcp
1013+
libXau
1014+
libxcb
1015+
])
1016+
"--libs nettle x11-xcb";
1017+
10051018
# `criterion`'s test suite fails with a timeout if its dependent
10061019
# libraries (apparently `bytestring`) are compiled with `-O0`.
10071020
# Even increasing the timeout 5x did not help!

0 commit comments

Comments
 (0)