From cf12f3e4d21141484206a506fcf41b0df76f75de Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Mon, 26 Oct 2015 17:13:23 -0700 Subject: [PATCH] patch out system include in libAppleWM --- pkgs/servers/x11/xorg/overrides.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 2a93dde13040..6d0e52084801 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -94,7 +94,10 @@ in }; libAppleWM = attrs: attrs // { - propagatedBuildInputs = [ args.apple_sdk.frameworks.ApplicationServices ]; + buildInputs = attrs.buildInputs ++ [ args.apple_sdk.frameworks.ApplicationServices ]; + preConfigure = '' + substituteInPlace src/Makefile.in --replace -F/System -F${args.apple_sdk.frameworks.ApplicationServices} + ''; }; libXfont = attrs: attrs // {