summary refs log tree commit diff
path: root/pkgs/build-support/build-pecl.nix
diff options
context:
space:
mode:
authorEmil Rangden <emil.rangden@chas.se>2015-02-05 20:22:28 +0100
committerEmil Rangden <emil.rangden@chas.se>2015-02-05 20:28:16 +0100
commit8c125c0c7448086cb4bd8dafd1f798d8697fcd78 (patch)
tree6e1802b9ce46a8727ac5f12337bf60b79ffe9ff8 /pkgs/build-support/build-pecl.nix
parent36ceb0117671e8cbb8b9723d49c36d158a8f3aee (diff)
downloadnixpkgs-8c125c0c7448086cb4bd8dafd1f798d8697fcd78.tar
nixpkgs-8c125c0c7448086cb4bd8dafd1f798d8697fcd78.tar.gz
nixpkgs-8c125c0c7448086cb4bd8dafd1f798d8697fcd78.tar.bz2
nixpkgs-8c125c0c7448086cb4bd8dafd1f798d8697fcd78.tar.lz
nixpkgs-8c125c0c7448086cb4bd8dafd1f798d8697fcd78.tar.xz
nixpkgs-8c125c0c7448086cb4bd8dafd1f798d8697fcd78.tar.zst
nixpkgs-8c125c0c7448086cb4bd8dafd1f798d8697fcd78.zip
fix phpPackages memcache,memcached,xdebug
These packages, and maybe some more include unix.h for some reason.
Creating that file makes them build, and in the case of xdebug also
appear to work.
Diffstat (limited to 'pkgs/build-support/build-pecl.nix')
-rw-r--r--pkgs/build-support/build-pecl.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/build-pecl.nix b/pkgs/build-support/build-pecl.nix
index 135b68186f3..5837d413abc 100644
--- a/pkgs/build-support/build-pecl.nix
+++ b/pkgs/build-support/build-pecl.nix
@@ -20,4 +20,6 @@ stdenv.mkDerivation (args // {
   makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ makeFlags;
 
   autoreconfPhase = "phpize";
+
+  preConfigure = "touch unix.h";
 })