Skip to content

Commit 85ddc5d

Browse files
committed
xorg.xorgserver: fix darwin build
disable libunwind detection as the configure step will detect the libunwind pkg-config stub but then the code will uses the unimplemented function unw_strerror. the pkg-config stub was added in ec40b04
1 parent 06677d5 commit 85ddc5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkgs/servers/x11/xorg/overrides.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ self: super:
890890
configureFlags = [
891891
# note: --enable-xquartz is auto
892892
"CPPFLAGS=-I${./darwin/dri}"
893+
"--disable-libunwind" # libunwind on darwin is missing unw_strerror
893894
"--disable-glamor"
894895
"--with-default-font-path="
895896
"--with-apple-application-name=XQuartz"

0 commit comments

Comments
 (0)