libev: Add statically linked libev to pkgsStatic

This commit is contained in:
Antonio Nuno Monteiro 2020-01-06 22:16:11 -08:00
parent 6e38def213
commit 66f12cac09
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, static ? false }:
stdenv.mkDerivation rec {
pname = "libev";
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0kil23cgsp0r5shvnwwbsy7fzxb62sxqzqbkbkfp5w54ipy2cm9d";
};
configureFlags = stdenv.lib.optional (static) "LDFLAGS=-static";
meta = {
description = "A high-performance event loop/event model with lots of features";
maintainers = [ stdenv.lib.maintainers.raskin ];

View file

@ -197,4 +197,6 @@ in {
};
python27 = super.python27.override { static = true; };
libev = super.libev.override { static = true; };
}