about summary refs log tree commit diff
path: root/pkgs/development/libraries/libevent
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-05 15:58:37 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-05 15:58:37 +0200
commit6d86a93c43790c887ec4a6bc42c2a79d23e33612 (patch)
tree3621825207dbf9dbb8a28d00b3105b23f8e9397c /pkgs/development/libraries/libevent
parent38313d5d877fc421d1381971051107e4b03dc40d (diff)
libevent: split into multiple outputs
Hopefully all references are fixed.
Diffstat (limited to 'pkgs/development/libraries/libevent')
-rw-r--r--pkgs/development/libraries/libevent/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libevent/default.nix b/pkgs/development/libraries/libevent/default.nix
index 284a09bc92756..98185da168add 100644
--- a/pkgs/development/libraries/libevent/default.nix
+++ b/pkgs/development/libraries/libevent/default.nix
@@ -8,14 +8,14 @@ stdenv.mkDerivation {
     url = "mirror://sourceforge/levent/libevent-${version}-stable.tar.gz";
     sha256 = "18qz9qfwrkakmazdlwxvjmw8p76g70n3faikwvdwznns1agw9hki";
   };
+  postPatch = "patchShebangs event_rpcgen.py";
+
+  outputs = [ "dev" "out" ];
+  outputBin = "dev";
 
   nativeBuildInputs = [ autoreconfHook ];
   buildInputs = [ python ] ++ stdenv.lib.optional stdenv.isCygwin findutils;
 
-  patchPhase = ''
-    patchShebangs event_rpcgen.py
-  '';
-
   meta = with stdenv.lib; {
     description = "Event notification library";