about summary refs log tree commit diff
path: root/pkgs/development/libraries/libevent
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2015-06-09 14:49:39 +0200
committerRok Garbas <rok@garbas.si>2015-06-12 12:17:12 +0200
commitfac474080f4f71fd751c718d24d0cec88a3538e4 (patch)
treee56e3fa3be89462c70caf2c53fc823c33c56ba90 /pkgs/development/libraries/libevent
parent7c67c350a3cd1d3074efb826f70d5017d2f28cf8 (diff)
cygwin: patchShebangs fails without proper findutils
Diffstat (limited to 'pkgs/development/libraries/libevent')
-rw-r--r--pkgs/development/libraries/libevent/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libevent/default.nix b/pkgs/development/libraries/libevent/default.nix
index 74524164dd09b..19878a24e9561 100644
--- a/pkgs/development/libraries/libevent/default.nix
+++ b/pkgs/development/libraries/libevent/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, python }:
+{ stdenv, fetchFromGitHub, autoreconfHook, python, findutils }:
 
 let version = "2.0.22"; in
 stdenv.mkDerivation {
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
   };
 
   nativeBuildInputs = [ autoreconfHook ];
-  buildInputs = [ python ];
+  buildInputs = [ python ] ++ stdenv.lib.optional stdenv.isCygwin findutils;
 
   patchPhase = ''
     patchShebangs event_rpcgen.py