summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-02-07 21:17:34 +0000
committerRobin Gloster <mail@glob.in>2016-02-07 21:17:34 +0000
commite353185cebc483e3f16993a9f5935a6c91977caa (patch)
tree3c39e7f2282217587c2526dcde1b5a0a6640a411 /pkgs
parent70bcd8ace8ebd0f2e660b23b96c72c3da25194b5 (diff)
downloadnixlib-e353185cebc483e3f16993a9f5935a6c91977caa.tar
nixlib-e353185cebc483e3f16993a9f5935a6c91977caa.tar.gz
nixlib-e353185cebc483e3f16993a9f5935a6c91977caa.tar.bz2
nixlib-e353185cebc483e3f16993a9f5935a6c91977caa.tar.lz
nixlib-e353185cebc483e3f16993a9f5935a6c91977caa.tar.xz
nixlib-e353185cebc483e3f16993a9f5935a6c91977caa.tar.zst
nixlib-e353185cebc483e3f16993a9f5935a6c91977caa.zip
wxPython: turn off format hardening
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/wxPython/generic.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/wxPython/generic.nix b/pkgs/development/python-modules/wxPython/generic.nix
index 3151dbcfac3d..385980b28484 100644
--- a/pkgs/development/python-modules/wxPython/generic.nix
+++ b/pkgs/development/python-modules/wxPython/generic.nix
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
   disabled = isPy3k || isPyPy;
   doCheck = false;
 
+  sourceRoot = "wxPython-src-${version}/wxPython";
+
+  hardening_format = false;
+
   src = fetchurl {
     url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2";
     inherit sha256;
@@ -18,7 +22,6 @@ stdenv.mkDerivation rec {
 
   pythonPath = [ python setuptools ];
   buildInputs = [ python setuptools pkgconfig wxGTK (wxGTK.gtk) wrapPython ]  ++ stdenv.lib.optional openglSupport pyopengl;
-  preConfigure = "cd wxPython";
 
   installPhase = ''
     ${python.interpreter} setup.py install WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=${if openglSupport then "1" else "0"} UNICODE=1 --prefix=$out