0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

pythonPackages.wxPython: fixup build

I'm not sure why/when it started failing, but adding pkgconfig
shouldn't hurt anything.  I see no indication that
pythonPackages.pkgconfig was meant.
This commit is contained in:
Vladimír Čunát 2019-02-02 13:56:38 +01:00
parent 8ba79e5af9
commit 05c62669b9
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,8 @@ buildPythonPackage rec {
hardeningDisable = [ "format" ];
propagatedBuildInputs = [ pkgconfig ]
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ ]
++ (lib.optional openglSupport pyopengl)
++ (lib.optionals (!stdenv.isDarwin) [ wxGTK (wxGTK.gtk) libX11 ])
++ (lib.optionals stdenv.isDarwin [ wxmac darwin.apple_sdk.frameworks.Cocoa ])
@ -60,8 +61,6 @@ buildPythonPackage rec {
]}'
'';
NIX_LDFLAGS = lib.optionalString (!stdenv.isDarwin) "-lX11 -lgdk-x11-2.0";
buildPhase = "";
installPhase = ''