diff --git a/pkgs/development/libraries/wxmac/default.nix b/pkgs/development/libraries/wxmac/default.nix index dc80b104a95d..e5d680501f00 100644 --- a/pkgs/development/libraries/wxmac/default.nix +++ b/pkgs/development/libraries/wxmac/default.nix @@ -19,10 +19,11 @@ stdenv.mkDerivation rec { buildInputs = [ expat libiconv libjpeg libpng libtiff zlib - AGL Cocoa Kernel QuickTime - setfile rez derez + Cocoa Kernel QuickTime setfile rez derez ]; + propagatedBuildInputs = [ AGL ]; + postPatch = '' substituteInPlace configure --replace "-framework System" -lSystem '';