Unverified Commit c71ffb21 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

pypy: fix eval

parent 1c688694
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -120,10 +120,12 @@ stdenv.mkDerivation rec {
  dontPatchShebangs = true;
  disallowedReferences = [ python ];

  env = {
  env =
    lib.optionalAttrs stdenv.cc.isClang {
      # fix compiler error in curses cffi module, where char* != const char*
    NIX_CFLAGS_COMPILE =
      if stdenv.cc.isClang then "-Wno-error=incompatible-function-pointer-types" else null;
      NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
    }
    // {
      C_INCLUDE_PATH = lib.makeSearchPathOutput "dev" "include" buildInputs;
      LIBRARY_PATH = lib.makeLibraryPath buildInputs;
      LD_LIBRARY_PATH = lib.makeLibraryPath (