libevent: split into multiple outputs

Hopefully all references are fixed.
This commit is contained in:
Vladimír Čunát
2015-10-05 15:58:37 +02:00
parent 38313d5d87
commit 6d86a93c43
7 changed files with 21 additions and 15 deletions
+9 -3
View File
@@ -1,5 +1,11 @@
{ stdenv, fetchurl, libevent }:
{ stdenv, fetchurl, libevent, buildEnv }:
let
# failed to find a better way to make it work
libevent-comb = buildEnv {
inherit (libevent.out) name;
paths = [ libevent.dev libevent.out ];
};
in
stdenv.mkDerivation {
name = "nylon-1.21";
src = fetchurl {
@@ -9,7 +15,7 @@ stdenv.mkDerivation {
patches = [ ./configure-use-solib.patch ];
configureFlags = [ "--with-libevent=${libevent}" ];
configureFlags = [ "--with-libevent=${libevent-comb}" ];
buildInputs = [ libevent ];