Merge pull request #77180 from anmonteiro/anmonteiro/libev-static
libev: Add statically linked `libev` to `pkgsStatic`
This commit is contained in:
commit
55adc491f0
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, static ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libev";
|
||||
|
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0nkfqv69wfyy2bpga4d53iqydycpik8jp8x6q70353hia8mmv1gd";
|
||||
};
|
||||
|
||||
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 ];
|
||||
|
|
|
@ -280,4 +280,6 @@ in {
|
|||
) super.ocaml-ng;
|
||||
|
||||
python27 = super.python27.override { static = true; };
|
||||
|
||||
libev = super.libev.override { static = true; };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue