mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
Merge pull request #77180 from anmonteiro/anmonteiro/libev-static
libev: Add statically linked `libev` to `pkgsStatic`
This commit is contained in:
commit
55adc491f0
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, static ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libev";
|
pname = "libev";
|
||||||
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0nkfqv69wfyy2bpga4d53iqydycpik8jp8x6q70353hia8mmv1gd";
|
sha256 = "0nkfqv69wfyy2bpga4d53iqydycpik8jp8x6q70353hia8mmv1gd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configureFlags = stdenv.lib.optional (static) "LDFLAGS=-static";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A high-performance event loop/event model with lots of features";
|
description = "A high-performance event loop/event model with lots of features";
|
||||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
|
@ -280,4 +280,6 @@ in {
|
|||||||
) super.ocaml-ng;
|
) super.ocaml-ng;
|
||||||
|
|
||||||
python27 = super.python27.override { static = true; };
|
python27 = super.python27.override { static = true; };
|
||||||
|
|
||||||
|
libev = super.libev.override { static = true; };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user